template<std::size_t id, class TypeTag, class Assembler, class Implementation, bool implicit>
class Dumux::SubDomainBoxLocalAssemblerBase< id, TypeTag, Assembler, Implementation, implicit >
A base class for all box local assemblers.
- Template Parameters
-
| id | the id of the sub domain |
| TypeTag | the TypeTag |
| Assembler | the assembler type |
| Implementation | the actual implementation type |
| implicit | Specifies whether the time discretization is implicit or not not (i.e. explicit) |
|
| | SubDomainBoxLocalAssemblerBase (const Assembler &assembler, const Element &element, const SolutionVector &curSol, CouplingManager &couplingManager) |
| template<class JacobianMatrixRow, class GridVariablesTuple> |
| void | assembleJacobianAndResidual (JacobianMatrixRow &jacRow, SubSolutionVector &res, GridVariablesTuple &gridVariables) |
| | Computes the derivatives with respect to the given element and adds them to the global matrix. The element residual is written into the right hand side.
|
| template<std::size_t otherId, class JacRow, class GridVariables, typename std::enable_if_t<(otherId==id), int > = 0> |
| void | assembleJacobianCoupling (Dune::index_constant< otherId > domainJ, JacRow &jacRow, const ElementResidualVector &res, GridVariables &gridVariables) |
| | Assemble the entries in a coupling block of the jacobian. There is no coupling block between a domain and itself.
|
| template<std::size_t otherId, class JacRow, class GridVariables, typename std::enable_if_t<(otherId !=id), int > = 0> |
| void | assembleJacobianCoupling (Dune::index_constant< otherId > domainJ, JacRow &jacRow, const ElementResidualVector &res, GridVariables &gridVariables) |
| | Assemble the entries in a coupling block of the jacobian.
|
| void | assembleResidual (SubSolutionVector &res) |
| | Assemble the residual vector entries only.
|
| ElementResidualVector | evalLocalSourceResidual (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| | Evaluates the local source term for an element and given element volume variables.
|
| ElementResidualVector | evalLocalSourceResidual (const Element &neighbor) const |
| | Evaluates the local source term depending on time discretization scheme.
|
| template<typename ApplyFunction> |
| void | enforceDirichletConstraints (const ApplyFunction &applyDirichlet) |
| | Enforce Dirichlet constraints.
|
| template<typename ApplyDirichletFunctionType> |
| void | evalDirichletBoundaries (ApplyDirichletFunctionType applyDirichlet) |
| | Incorporate Dirichlet boundary conditions.
|
| void | bindLocalViews () |
| | Prepares all local views necessary for local assembly.
|
| const Problem & | problem () const |
| | return reference to the underlying problem
|
| CouplingManager & | couplingManager () |
| | return reference to the coupling manager
|
| ElementResidualVector | evalLocalResidual () const |
| | Convenience function to evaluate the complete local residual for the current element. Automatically chooses the the appropriate element volume variables.
|
| ElementResidualVector | evalLocalResidual (const ElementVolumeVariables &elemVolVars) const |
| | Evaluates the complete local residual for the current element.
|
| ElementResidualVector | evalLocalFluxAndSourceResidual () const |
| | Convenience function to evaluate the flux and source terms (i.e, the terms without a time derivative) of the local residual for the current element. Automatically chooses the the appropriate element volume variables.
|
| ElementResidualVector | evalLocalFluxAndSourceResidual (const ElementVolumeVariables &elemVolVars) const |
| | Evaluates the flux and source terms (i.e, the terms without a time derivative) of the local residual for the current element.
|
| ElementResidualVector | evalLocalStorageResidual () const |
| | Convenience function to evaluate storage term (i.e, the term with a time derivative) of the local residual for the current element. Automatically chooses the the appropriate element volume variables.
|
| void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
| | Enforces Dirichlet constraints if enabled in the problem.
|
| void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
| const Assembler & | assembler () const |
| | The assembler.
|
| const Element & | element () const |
| | The current element.
|
| bool | elementIsGhost () const |
| | Returns if element is a ghost entity.
|
| const SolutionVector & | curSol () const |
| | The current solution.
|
| FVElementGeometry & | fvGeometry () |
| | The global finite volume geometry.
|
| const FVElementGeometry & | fvGeometry () const |
| | The finite volume geometry.
|
| ElementVolumeVariables & | curElemVolVars () |
| | The current element volume variables.
|
| const ElementVolumeVariables & | curElemVolVars () const |
| | The current element volume variables.
|
| ElementVolumeVariables & | prevElemVolVars () |
| | The element volume variables of the provious time step.
|
| const ElementVolumeVariables & | prevElemVolVars () const |
| | The element volume variables of the provious time step.
|
| ElementFluxVariablesCache & | elemFluxVarsCache () |
| | The element flux variables cache.
|
| const ElementFluxVariablesCache & | elemFluxVarsCache () const |
| | The element flux variables cache.
|
| LocalResidual & | localResidual () |
| | The local residual for the current element.
|
| const LocalResidual & | localResidual () const |
| | The local residual for the current element.
|
| ElementBoundaryTypes & | elemBcTypes () |
| | The element's boundary types.
|
| const ElementBoundaryTypes & | elemBcTypes () const |
| | The element's boundary types.
|