◆ CPPUNIT_TEST() [1/4]
◆ CPPUNIT_TEST() [2/4]
◆ CPPUNIT_TEST() [3/4]
◆ CPPUNIT_TEST() [4/4]
◆ CPPUNIT_TEST_SUITE()
◆ CPPUNIT_TEST_SUITE_END()
      
        
          | PointNeighborCouplingTest::CPPUNIT_TEST_SUITE_END  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setUp()
  
  
      
        
          | void PointNeighborCouplingTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ tearDown()
  
  
      
        
          | void PointNeighborCouplingTest::tearDown  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ testCoupling()
  
  
      
        
          | void PointNeighborCouplingTest::testCoupling  | 
          ( | 
          const ElemType  | 
          elem_type | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 56 of file point_neighbor_coupling_test.C.
   80       (point_neighbor_coupling);
 
   82     const unsigned int n_elem_per_side = 5;
 
   83     const std::unique_ptr<Elem> test_elem = Elem::build(elem_type);
 
   84     const unsigned int ymax = test_elem->dim() > 1;
 
   85     const unsigned int zmax = test_elem->dim() > 2;
 
   86     const unsigned int ny = ymax * n_elem_per_side;
 
   87     const unsigned int nz = zmax * n_elem_per_side;
 
  102       for (
unsigned int s1=0; s1 != elem->n_neighbors(); ++s1)
 
  115           for (
unsigned int s2=0; s2 != elem->n_neighbors(); ++s2)
 
  124               for (
unsigned int s3=0; s3 != elem->n_neighbors(); ++s3)
 
 
References libMesh::MeshBase::active_local_element_ptr_range(), libMesh::DofMap::add_algebraic_ghosting_functor(), libMesh::EquationSystems::add_system(), libMesh::System::add_variable(), libMesh::Elem::build(), libMesh::MeshTools::Generation::build_cube(), libMesh::Elem::centroid(), cubic_point_neighbor_coupling_test(), libMesh::DofMap::default_algebraic_ghosting(), libMesh::DofMap::default_coupling(), libMesh::System::get_dof_map(), libMesh::HIERARCHIC, libMesh::EquationSystems::init(), libMesh::DofMap::is_evaluable(), libMesh::libmesh_assert(), libMesh::libmesh_real(), mesh, libMesh::Elem::neighbor_ptr(), libMesh::EquationSystems::parameters, libMesh::System::point_value(), libMesh::ParallelObject::processor_id(), libMesh::DofObject::processor_id(), libMesh::System::project_solution(), libMesh::DofMap::remove_algebraic_ghosting_functor(), libMesh::DofMap::remove_coupling_functor(), libMesh::PointNeighborCoupling::set_dof_coupling(), libMesh::PointNeighborCoupling::set_n_levels(), TestCommWorld, libMesh::THIRD, and libMesh::TOLERANCE.
 
 
◆ testCouplingOnEdge3()
  
  
      
        
          | void PointNeighborCouplingTest::testCouplingOnEdge3  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ testCouplingOnHex27()
  
  
      
        
          | void PointNeighborCouplingTest::testCouplingOnHex27  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ testCouplingOnQuad9()
  
  
      
        
          | void PointNeighborCouplingTest::testCouplingOnQuad9  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ testCouplingOnTri6()
  
  
      
        
          | void PointNeighborCouplingTest::testCouplingOnTri6  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following file:
 
void add_algebraic_ghosting_functor(GhostingFunctor &evaluable_functor, bool to_mesh=true)
Adds a functor which can specify algebraic ghosting requirements for use with distributed vectors.
 
Manages consistently variables, degrees of freedom, and coefficient vectors.
 
bool is_evaluable(const DofObjectSubclass &obj, unsigned int var_num=libMesh::invalid_uint) const
 
The Mesh class is a thin wrapper, around the ReplicatedMesh class by default.
 
virtual SimpleRange< element_iterator > active_local_element_ptr_range()=0
 
void remove_coupling_functor(GhostingFunctor &coupling_functor)
Removes a functor which was previously added to the set of coupling functors, from both this DofMap a...
 
Number cubic_point_neighbor_coupling_test(const Point &p, const Parameters &, const std::string &, const std::string &)
 
static const Real TOLERANCE
 
DefaultCoupling & default_coupling()
Default coupling functor.
 
processor_id_type processor_id() const
 
virtual Point centroid() const
 
processor_id_type processor_id() const
 
unsigned int add_variable(const std::string &var, const FEType &type, const std::set< subdomain_id_type > *const active_subdomains=nullptr)
Adds the variable var to the list of variables for this system.
 
libMesh::Parallel::Communicator * TestCommWorld
 
A Point defines a location in LIBMESH_DIM dimensional Real space.
 
void set_n_levels(unsigned int n_levels)
 
This is the EquationSystems class.
 
void remove_algebraic_ghosting_functor(GhostingFunctor &evaluable_functor)
Removes a functor which was previously added to the set of algebraic ghosting functors,...
 
void set_dof_coupling(const CouplingMatrix *dof_coupling)
 
Number point_value(unsigned int var, const Point &p, const bool insist_on_success=true, const NumericVector< Number > *sol=nullptr) const
 
void testCoupling(const ElemType elem_type)
 
This is the base class from which all geometric element types are derived.
 
DefaultCoupling & default_algebraic_ghosting()
Default algebraic ghosting functor.
 
const DofMap & get_dof_map() const
 
const Elem * neighbor_ptr(unsigned int i) const
 
void project_solution(FunctionBase< Number > *f, FunctionBase< Gradient > *g=nullptr) const
Projects arbitrary functions onto the current solution.
 
This class implements the default algebraic coupling in libMesh: elements couple to themselves,...