A base class for all local cell-centered assemblers. More...
#include <dumux/assembly/cclocalassembler.hh>
TypeTag | The TypeTag |
Assembler | The assembler type |
Implementation | The actual implementation |
implicit | Specifies whether the time discretization is implicit or not (i.e. explicit) |
Public Types | |
using | LocalResidual = std::decay_t< decltype(std::declval< Assembler >().localResidual())> |
using | ElementResidualVector = typename LocalResidual::ElementResidualVector |
Public Member Functions | |
template<class ResidualVector , class PartialReassembler = DefaultPartialReassembler> | |
void | assembleJacobianAndResidual (JacobianMatrix &jac, ResidualVector &res, GridVariables &gridVariables, const PartialReassembler *partialReassembler) |
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... | |
void | assembleJacobian (JacobianMatrix &jac, GridVariables &gridVariables) |
Computes the derivatives with respect to the given element and adds them to the global matrix. More... | |
template<class ResidualVector > | |
void | assembleResidual (ResidualVector &res) |
Assemble the residual only. 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... | |
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. More... | |
void | bindLocalViews () |
Convenience function bind and prepare all relevant variables required for the evaluation of the local residual. More... | |
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
Enforces Dirichlet constraints if enabled in the problem. More... | |
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
const Problem & | problem () const |
The problem. More... | |
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... | |
Static Public Member Functions | |
static constexpr bool | isImplicit () |
Returns true if the assembler considers implicit assembly. More... | |
Protected Member Functions | |
Implementation & | asImp_ () |
const Implementation & | asImp_ () const |
VolumeVariables & | getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) |
VolumeVariables & | getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv) |
|
inherited |
|
inherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
elemVolVars | The element volume variables |
|
inlineinherited |
|
inlineinherited |
elemVolVars | The element volume variables |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlinestaticconstexprinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |