template<class TypeTag>
class Dumux::MimeticOperatorAssemblerTwoPAdaptive< TypeTag >
Levelwise assembler.
This class serves as a base class for local assemblers. It provides space and access to the local stiffness matrix. The actual assembling is done in a derived class via the virtual assemble method.
- Template Parameters
-
TypeTag | The problem Type Tag |
template<class TypeTag >
template<class LocalStiffness , class Vector >
Assembles global stiffness matrix.
This method takes an object that can compute local stiffness matrices and assembles the global linear system Au=f.
- Parameters
-
| loc | the local assembler providing element stiffness and boundary conditions for all elements |
[in,out] | u | solution, contains initial values on input, Dirichlet values are set. The type of boundary condition for a node is inferred from the values returned by the local assembler. A node is of Neumann type if all elements referring to that node report a Neumann boundary condition, it is set to Dirichlet if a least one element reports a process or Dirichlet boundary condition. The difference between process and Dirichlet is that process always denotes a homogeneous Dirichlet value. |
| f | right hand side is filled by this method |
Note that the rows corresponding to nodes at the Dirichlet boundary are filled with trivial equations of the form
\[1\cdot u_i = f_i \]
where \(u_i\) and \(f_i\) are both set to the Dirichlet value at the \(i\)th node.