◆ build_quad_mesh()
void OverlappingTestBase::build_quad_mesh |
( |
unsigned int |
n_refinements = 0 | ) |
|
|
inlineprotected |
◆ clear()
void OverlappingTestBase::clear |
( |
| ) |
|
|
inlineprotected |
◆ init()
void OverlappingTestBase::init |
( |
| ) |
|
|
inlineprotected |
Definition at line 301 of file overlapping_coupling_test.C.
References libMesh::System::add_variable(), libMesh::FIRST, and libMesh::LAGRANGE.
303 _es = std::make_unique<EquationSystems>(*_mesh);
306 std::set<subdomain_id_type> sub_one;
309 std::set<subdomain_id_type> sub_two;
Manages consistently variables, degrees of freedom, coefficient vectors, matrices and linear solvers ...
std::unique_ptr< EquationSystems > _es
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.
◆ setup_coupling_matrix()
void OverlappingTestBase::setup_coupling_matrix |
( |
std::unique_ptr< CouplingMatrix > & |
coupling | ) |
|
|
inlineprotected |
Definition at line 327 of file overlapping_coupling_test.C.
References libMesh::System::n_vars(), and libMesh::System::variable_number().
329 System & system =
_es->get_system(
"SimpleSystem");
331 coupling = std::make_unique<CouplingMatrix>(system.
n_vars());
340 (*coupling)(u_var,v_var) =
true;
341 (*coupling)(l_var,v_var) =
true;
342 (*coupling)(l_var,p_var) =
true;
343 (*coupling)(v_var,u_var) =
true;
344 (*coupling)(v_var,l_var) =
true;
unsigned int variable_number(std::string_view var) const
std::unique_ptr< EquationSystems > _es
Manages consistently variables, degrees of freedom, and coefficient vectors.
unsigned int n_vars() const
◆ _es
◆ _mesh
std::unique_ptr<MeshBase> OverlappingTestBase::_mesh |
|
protected |
The documentation for this class was generated from the following file: