◆ init_es()
void NonManifoldCouplingTestBase::init_es |
( |
| ) |
|
|
inlineprotected |
Definition at line 142 of file nonmanifold_coupling_test.C.
References libMesh::DofMap::add_coupling_functor(), libMesh::System::add_variable(), libMesh::FIRST, libMesh::System::get_dof_map(), and libMesh::LAGRANGE.
144 _es = std::make_unique<EquationSystems>(*_mesh);
158 auto ghosting_functor = std::make_shared<NonManifoldGhostingFunctor>(*_mesh);
Manages consistently variables, degrees of freedom, coefficient vectors, matrices and linear solvers ...
std::unique_ptr< EquationSystems > _es
void add_coupling_functor(GhostingFunctor &coupling_functor, bool to_mesh=true)
Adds a functor which can specify coupling requirements for creation of sparse matrices.
unsigned int add_variable(std::string_view 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.
const DofMap & get_dof_map() const
◆ read_mesh()
void NonManifoldCouplingTestBase::read_mesh |
( |
const std::string & |
mesh_filename | ) |
|
|
inlineprotected |
Definition at line 123 of file nonmanifold_coupling_test.C.
128 _mesh = std::make_unique<ReplicatedMesh>(*TestCommWorld);
129 _mesh->read(mesh_filename);
133 _mesh->partitioner() = std::make_unique<NonManifoldTestPartitioner>();
135 _mesh->prepare_for_use();
std::unique_ptr< MeshBase > _mesh
◆ _es
◆ _mesh
std::unique_ptr<MeshBase> NonManifoldCouplingTestBase::_mesh |
|
protected |
The documentation for this class was generated from the following file: