version 3.9-dev
Dumux::FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > Class Template Reference

TODO docme.

#include <dumux/assembly/fclocalassembler.hh>

Inheritance diagram for Dumux::FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation >:

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. More...
 
void bindLocalViews ()
 
void assembleJacobianAndResidual (JacobianMatrix &jac, ResidualVector &res, GridVariables &gridVariables, const PartialReassembler *partialReassembler, const CouplingFunction &maybeAssembleCouplingBlocks=CouplingFunction{})
 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...
 
void assembleResidual (ResidualVector &res)
 Assemble the residual only. More...
 
void enforceDirichletConstraints (const ApplyFunction &applyDirichlet)
 Enforce Dirichlet constraints. More...
 
void evalDirichletBoundaries (ApplyDirichletFunctionType applyDirichlet)
 Evaluates Dirichlet boundaries. More...
 
void maybeUpdateCouplingContext (Args &&...)
 Update the coupling context for coupled models. More...
 
void maybeEvalAdditionalDomainDerivatives (Args &&...)
 Update the additional domain derivatives for coupled models. 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 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...
 
LocalResiduallocalResidual ()
 The local residual for the current element. More...
 
const LocalResiduallocalResidual () 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

FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > & asImp_ ()
 
const FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > & asImp_ () const
 
VolumeVariables & getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv)
 
VolumeVariables & getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv)
 

Member Typedef Documentation

◆ ElementResidualVector

template<class TypeTag , class Assembler , class Implementation >
using Dumux::FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation >::ElementResidualVector = typename LocalResidual::ElementResidualVector

◆ LocalResidual

template<class TypeTag , class Assembler , class Implementation >
using Dumux::FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation >::LocalResidual = typename ParentType::LocalResidual

Member Function Documentation

◆ asImp_() [1/2]

FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::asImp_ ( )
inlineprotectedinherited

◆ asImp_() [2/2]

const FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::asImp_ ( ) const
inlineprotectedinherited

◆ assembleJacobian()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::assembleJacobian ( JacobianMatrix &  jac,
GridVariables &  gridVariables 
)
inlineinherited

◆ assembleJacobianAndResidual()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::assembleJacobianAndResidual ( JacobianMatrix &  jac,
ResidualVector &  res,
GridVariables &  gridVariables,
const PartialReassembler partialReassembler,
const CouplingFunction &  maybeAssembleCouplingBlocks = CouplingFunction{} 
)
inlineinherited

◆ assembleJacobianAndResidualImpl()

template<class TypeTag , class Assembler , class Implementation >
template<class PartialReassembler = DefaultPartialReassembler>
ElementResidualVector Dumux::FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation >::assembleJacobianAndResidualImpl ( JacobianMatrix &  A,
GridVariables &  gridVariables,
const PartialReassembler partialReassembler = nullptr 
)
inline
Returns
The element residual at the current solution.

◆ assembler()

const Assembler & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::assembler ( ) const
inlineinherited

◆ assembleResidual()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::assembleResidual ( ResidualVector &  res)
inlineinherited

◆ bindLocalViews()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::bindLocalViews ( )
inlineinherited

◆ curElemVolVars() [1/2]

ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::curElemVolVars ( )
inlineinherited

◆ curElemVolVars() [2/2]

const ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::curElemVolVars ( ) const
inlineinherited

◆ curSol()

const SolutionVector & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::curSol ( ) const
inlineinherited

◆ elemBcTypes() [1/2]

ElementBoundaryTypes & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::elemBcTypes ( )
inlineinherited

◆ elemBcTypes() [2/2]

const ElementBoundaryTypes & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::elemBcTypes ( ) const
inlineinherited

◆ element()

const Element & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::element ( ) const
inlineinherited

◆ elementIsGhost()

bool Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::elementIsGhost ( ) const
inlineinherited

◆ elemFluxVarsCache() [1/2]

ElementFluxVariablesCache & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::elemFluxVarsCache ( )
inlineinherited

◆ elemFluxVarsCache() [2/2]

const ElementFluxVariablesCache & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::elemFluxVarsCache ( ) const
inlineinherited

◆ enforceDirichletConstraints()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::enforceDirichletConstraints ( const ApplyFunction &  applyDirichlet)
inlineinherited

◆ enforceInternalDirichletConstraints() [1/2]

void Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::enforceInternalDirichletConstraints ( const ApplyFunction &  applyDirichlet)
inlineinherited

◆ enforceInternalDirichletConstraints() [2/2]

void Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::enforceInternalDirichletConstraints ( const ApplyFunction &  applyDirichlet)
inlineinherited

◆ evalDirichletBoundaries()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::evalDirichletBoundaries ( ApplyDirichletFunctionType  applyDirichlet)
inlineinherited

◆ evalLocalFluxAndSourceResidual() [1/2]

ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::evalLocalFluxAndSourceResidual ( ) const
inlineinherited

◆ evalLocalFluxAndSourceResidual() [2/2]

ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::evalLocalFluxAndSourceResidual ( const ElementVolumeVariables &  elemVolVars) const
inlineinherited
Parameters
elemVolVarsThe element volume variables

◆ evalLocalResidual() [1/2]

ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::evalLocalResidual ( ) const
inlineinherited

◆ evalLocalResidual() [2/2]

ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::evalLocalResidual ( const ElementVolumeVariables &  elemVolVars) const
inlineinherited
Parameters
elemVolVarsThe element volume variables

◆ evalLocalStorageResidual()

ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::evalLocalStorageResidual ( ) const
inlineinherited

◆ fvGeometry() [1/2]

FVElementGeometry & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::fvGeometry ( )
inlineinherited

◆ fvGeometry() [2/2]

const FVElementGeometry & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::fvGeometry ( ) const
inlineinherited

◆ getVolVarAccess() [1/2]

VolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::getVolVarAccess ( GridVolumeVariables &  gridVolVars,
ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
)
inlineprotectedinherited

◆ getVolVarAccess() [2/2]

VolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::getVolVarAccess ( GridVolumeVariables &  gridVolVars,
ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
)
inlineprotectedinherited

◆ isImplicit()

static constexpr bool Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::isImplicit ( )
inlinestaticconstexprinherited

◆ localResidual() [1/2]

LocalResidual & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::localResidual ( )
inlineinherited

◆ localResidual() [2/2]

const LocalResidual & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::localResidual ( ) const
inlineinherited

◆ maybeEvalAdditionalDomainDerivatives()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::maybeEvalAdditionalDomainDerivatives ( Args &&  ...)
inlineinherited
Note
This does nothing per default (not a coupled model).

◆ maybeUpdateCouplingContext()

void Dumux::FaceCenteredLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , implicit >::maybeUpdateCouplingContext ( Args &&  ...)
inlineinherited
Note
This does nothing per default (not a coupled model).

◆ prevElemVolVars() [1/2]

ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::prevElemVolVars ( )
inlineinherited

◆ prevElemVolVars() [2/2]

const ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::prevElemVolVars ( ) const
inlineinherited

◆ problem()

const Problem & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, FaceCenteredLocalAssembler< TypeTag, Assembler, DiffMethod::analytic, true, Implementation > , useImplicitAssembly >::problem ( ) const
inlineinherited

The documentation for this class was generated from the following file: