Control volume finite element local assembler using analytic differentiation and explicit time discretization.
#include <dumux/assembly/cvfelocalassembler.hh>
Public Types | |
using | LocalResidual = typename ParentType::LocalResidual |
using | ElementResidualVector = typename LocalResidual::ElementResidualVector |
Public Member Functions | |
template<class PartialReassembler = DefaultPartialReassembler> | |
ElementResidualVector | assembleJacobianAndResidualImpl (JacobianMatrix &A, GridVariables &gridVariables, const PartialReassembler *partialReassembler=nullptr) |
Computes the derivatives with respect to the given element and adds them to the global matrix. | |
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 | bindLocalViews () |
Convenience function bind and prepare all relevant variables required for the evaluation of the local residual. | |
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
Enforces Dirichlet constraints if enabled in the problem. | |
void | enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet) |
const Problem & | problem () const |
The problem. | |
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. | |
Static Public Member Functions | |
static constexpr bool | isImplicit () |
Returns true if the assembler considers implicit assembly. | |
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) |
using Dumux::CVFELocalAssembler< TypeTag, Assembler, DiffMethod::analytic, false, Implementation >::ElementResidualVector = typename LocalResidual::ElementResidualVector |
using Dumux::CVFELocalAssembler< TypeTag, Assembler, DiffMethod::analytic, false, Implementation >::LocalResidual = typename ParentType::LocalResidual |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
|
inlineinherited |
|
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 |