template<std::size_t id, class TypeTag, class Assembler, class Implementation, bool implicit>
class Dumux::SubDomainCCLocalAssemblerBase< id, TypeTag, Assembler, Implementation, implicit >
A base class for all multidomain local assemblers.
- Template Parameters
-
id | the id of the sub domain |
TypeTag | the TypeTag |
Assembler | the assembler type |
Implementation | the actual assembler implementation |
implicit | Specifies whether the time discretization is implicit or not not (i.e. explicit) |
|
| SubDomainCCLocalAssemblerBase (const Assembler &assembler, const Element &element, const SolutionVector &curSol, CouplingManager &couplingManager) |
| the constructor More...
|
|
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. More...
|
|
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 LocalResidualValues &res, GridVariables &gridVariables) |
| Assemble the entries in a coupling block of the jacobian. There is no coupling block between a domain and itself. More...
|
|
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 LocalResidualValues &res, GridVariables &gridVariables) |
| Assemble the entries in a coupling block of the jacobian. More...
|
|
void | assembleResidual (SubSolutionVector &res) |
| Assemble the residual only. More...
|
|
ElementResidualVector | evalLocalSourceResidual (const Element &element, const ElementVolumeVariables &elemVolVars) const |
| Evaluates the local source term for an element and given element volume variables. More...
|
|
ElementResidualVector | evalLocalSourceResidual (const Element &neighbor) const |
| Evaluates the local source term depending on time discretization scheme. More...
|
|
LocalResidualValues | evalLocalStorageResidual () const |
| Evaluates the storage terms within the element. More...
|
|
LocalResidualValues | evalFluxResidual (const Element &neighbor, const SubControlVolumeFace &scvf) const |
| Evaluates the fluxes depending on the chose time discretization scheme. More...
|
|
void | bindLocalViews () |
| Prepares all local views necessary for local assembly. More...
|
|
const Problem & | problem () const |
| return reference to the underlying problem More...
|
|
CouplingManager & | couplingManager () |
| return reference to the coupling manager More...
|
|
ElementResidualVector | evalLocalResidual () const |
| Convenience function to evaluate the complete local residual for the current element. Automatically chooses the the appropriate element volume variables. More...
|
|
ElementResidualVector | evalLocalResidual (const ElementVolumeVariables &elemVolVars) const |
| Evaluates the complete local residual for the current element. More...
|
|
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. More...
|
|
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. More...
|
|
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
| Enforces Dirichlet constraints if enabled in the problem. More...
|
|
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
|
const Assembler & | assembler () const |
| The assembler. More...
|
|
const Element & | element () const |
| The current element. More...
|
|
bool | elementIsGhost () const |
| Returns if element is a ghost entity. More...
|
|
const SolutionVector & | curSol () const |
| The current solution. More...
|
|
FVElementGeometry & | fvGeometry () |
| The global finite volume geometry. More...
|
|
const FVElementGeometry & | fvGeometry () const |
| The finite volume geometry. More...
|
|
ElementVolumeVariables & | curElemVolVars () |
| The current element volume variables. More...
|
|
const ElementVolumeVariables & | curElemVolVars () const |
| The current element volume variables. More...
|
|
ElementVolumeVariables & | prevElemVolVars () |
| The element volume variables of the provious time step. More...
|
|
const ElementVolumeVariables & | prevElemVolVars () const |
| The element volume variables of the provious time step. More...
|
|
ElementFluxVariablesCache & | elemFluxVarsCache () |
| The element flux variables cache. More...
|
|
const ElementFluxVariablesCache & | elemFluxVarsCache () const |
| The element flux variables cache. More...
|
|
LocalResidual & | localResidual () |
| The local residual for the current element. More...
|
|
const LocalResidual & | localResidual () const |
| The local residual for the current element. More...
|
|
ElementBoundaryTypes & | elemBcTypes () |
| The element's boundary types. More...
|
|
const ElementBoundaryTypes & | elemBcTypes () const |
| The element's boundary types. More...
|
|