version 3.8.0
Loading...
Searching...
No Matches
Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true > Class Template Reference

Staggered scheme local assembler using numeric differentiation and implicit time discretization. More...

#include <dumux/multidomain/subdomainstaggeredlocalassembler.hh>

Inheritance diagram for Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >:

Description

template<std::size_t id, class TypeTag, class Assembler>
class Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >

The assembly of the cellCenterResidual is done element-wise, the assembly of the face residual is done half-element-wise.

A sketch of what this means can be found in the following image:

Half-element wise assembly means, that integrals are split into contributions from the left and right part of the staggered control volume. For an example term \(\int_{\Omega}\varrho u\text{d}\Omega\) this reads \(\int_{\Omega}\varrho u\text{d}\Omega = \frac{1}{2}\Omega_\text{left}\varrho_\text{left}u+\frac{1}{2}\Omega_\text{right}\varrho_\text{right}u\).

During assembly, \(\frac{1}{2}\Omega_\text{left}\varrho_\text{left}u\) is added to the residual of the staggered control volume \(\Omega\), when the loops reach the scvf within element \(\Omega_\text{left}\). \(\frac{1}{2}\Omega_\text{right}\varrho_\text{right}u\) is added to the residual of \(\Omega\), when the loops reach the scvf within in element \(\Omega_\text{right}\). Other terms are split analogously.

Public Types

using LocalResidual = std::decay_t< decltype(std::declval< Assembler >().localResidual())>
 
using ElementResidualVector = typename LocalResidual::ElementResidualVector
 

Public Member Functions

CellCenterResidualValue assembleCellCenterResidualImpl ()
 
FaceResidualValue assembleFaceResidualImpl (const SubControlVolumeFace &scvf)
 
template<class JacobianMatrixDiagBlock , class GridVariables >
CellCenterResidualValue assembleCellCenterJacobianAndResidualImpl (JacobianMatrixDiagBlock &A, GridVariables &gridVariables)
 Computes the derivatives with respect to the given element and adds them to the global matrix.
 
template<class JacobianMatrixDiagBlock , class GridVariables >
auto assembleFaceJacobianAndResidualImpl (JacobianMatrixDiagBlock &A, GridVariables &gridVariables)
 Computes the derivatives with respect to the given element and adds them to the global matrix.
 
template<class JacobianBlock , class GridVariables >
void assembleJacobianCellCenterCoupling (Dune::index_constant< faceId > domainJ, JacobianBlock &A, const CellCenterResidualValue &origResidual, GridVariables &gridVariables)
 Computes the derivatives with respect to the given element and adds them to the global matrix.
 
template<std::size_t otherId, class JacobianBlock , class GridVariables >
void assembleJacobianCellCenterCoupling (Dune::index_constant< otherId > domainJ, JacobianBlock &A, const CellCenterResidualValue &res, GridVariables &gridVariables)
 
template<class JacobianBlock , class ElementResidualVector , class GridVariables >
void assembleJacobianFaceCoupling (Dune::index_constant< cellCenterId > domainJ, JacobianBlock &A, const ElementResidualVector &origResiduals, GridVariables &gridVariables)
 Computes the derivatives with respect to the given element and adds them to the global matrix.
 
template<std::size_t otherId, class JacobianBlock , class ElementResidualVector , class GridVariables >
void assembleJacobianFaceCoupling (Dune::index_constant< otherId > domainJ, JacobianBlock &A, const ElementResidualVector &res, GridVariables &gridVariables)
 
template<class JacobianMatrixDiagBlock , class GridVariables >
void evalAdditionalDerivatives (const std::vector< std::size_t > &additionalDofDependencies, JacobianMatrixDiagBlock &A, GridVariables &gridVariables)
 
void bindLocalViews ()
 
template<class JacobianMatrixRow , class SubResidual , class GridVariablesTuple >
void assembleJacobianAndResidual (JacobianMatrixRow &jacRow, SubResidual &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<class SubResidual >
void assembleResidual (SubResidual &res)
 Assemble the residual only.
 
CellCenterResidualValue evalLocalResidualForCellCenter () const
 Convenience function to evaluate the complete local residual for the current element. Automatically chooses the the appropriate element volume variables.
 
CellCenterResidualValue evalLocalResidualForCellCenter (const ElementVolumeVariables &elemVolVars, const ElementFaceVariables &elemFaceVars) const
 Evaluates the complete local residual for the current cell center.
 
CellCenterResidualValue evalLocalFluxAndSourceResidualForCellCenter () 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 and face variables.
 
CellCenterResidualValue evalLocalFluxAndSourceResidualForCellCenter (const ElementVolumeVariables &elemVolVars, const ElementFaceVariables &elemFaceVars) const
 Evaluates the flux and source terms (i.e, the terms without a time derivative) of the local residual for the current element.
 
CellCenterResidualValue evalLocalStorageResidualForCellCenter () 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 and face variables.
 
FaceResidualValue evalLocalResidualForFace (const SubControlVolumeFace &scvf) const
 Convenience function to evaluate the local residual for the current face. Automatically chooses the the appropriate element volume and face variables.
 
FaceResidualValue evalLocalResidualForFace (const SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, const ElementFaceVariables &elemFaceVars) const
 Evaluates the complete local residual for the current face.
 
FaceResidualValue evalLocalFluxAndSourceResidualForFace (const SubControlVolumeFace &scvf) 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 and face variables.
 
FaceResidualValue evalLocalFluxAndSourceResidualForFace (const SubControlVolumeFace &scvf, const ElementVolumeVariables &elemVolVars, const ElementFaceVariables &elemFaceVars) const
 Evaluates the flux and source terms (i.e, the terms without a time derivative) of the local residual for the current face.
 
FaceResidualValue evalLocalStorageResidualForFace (const SubControlVolumeFace &scvf) const
 Convenience function to evaluate storage term (i.e, the term with a time derivative) of the local residual for the current face. Automatically chooses the the appropriate element volume and face variables.
 
const Problem & problem () const
 
ElementFaceVariables & curElemFaceVars ()
 The current element volume variables.
 
const ElementFaceVariables & curElemFaceVars () const
 The current element volume variables.
 
ElementFaceVariables & prevElemFaceVars ()
 The element volume variables of the provious time step.
 
const ElementFaceVariables & prevElemFaceVars () const
 The element volume variables of the provious time step.
 
CouplingManagercouplingManager ()
 
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.
 
template<typename ApplyFunction , class P = Problem, typename std::enable_if_t< P::enableInternalDirichletConstraints(), int > = 0>
void enforceInternalDirichletConstraints (const ApplyFunction &applyDirichlet)
 Enforces Dirichlet constraints if enabled in the problem.
 
template<typename ApplyFunction , class P = Problem, typename std::enable_if_t<!P::enableInternalDirichletConstraints(), int > = 0>
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.
 
LocalResiduallocalResidual ()
 The local residual for the current element.
 
const LocalResiduallocalResidual () 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

template<class SubMatrix , class CCOrFacePrimaryVariables >
static void updateGlobalJacobian_ (SubMatrix &matrix, const int globalI, const int globalJ, const int pvIdx, const CCOrFacePrimaryVariables &partialDeriv)
 Updates the current global Jacobian matrix with the partial derivatives of all equations in regard to the primary variable 'pvIdx' at dof 'col'. Specialization for cc methods.
 
static constexpr bool isImplicit ()
 Returns true if the assembler considers implicit assembly.
 

Static Public Attributes

static constexpr auto faceOffset = numEqCellCenter
 

Protected Member Functions

Implementation & asImp_ ()
 
const Implementation & asImp_ () const
 
template<class T = TypeTag, typename std::enable_if_t<!GetPropType< T, Properties::GridVariables >::GridVolumeVariables::cachingEnabled, int > = 0>
VolumeVariables & getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv)
 
template<class T = TypeTag, typename std::enable_if_t< GetPropType< T, Properties::GridVariables >::GridVolumeVariables::cachingEnabled, int > = 0>
VolumeVariables & getVolVarAccess (GridVolumeVariables &gridVolVars, ElementVolumeVariables &elemVolVars, const SubControlVolume &scv)
 

Member Typedef Documentation

◆ ElementResidualVector

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
using Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::ElementResidualVector = typename LocalResidual::ElementResidualVector
inherited

◆ LocalResidual

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
using Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::LocalResidual = std::decay_t<decltype(std::declval<Assembler>().localResidual())>
inherited

Member Function Documentation

◆ asImp_() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
Implementation & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::asImp_ ( )
inlineprotectedinherited

◆ asImp_() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const Implementation & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::asImp_ ( ) const
inlineprotectedinherited

◆ assembleCellCenterJacobianAndResidualImpl()

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianMatrixDiagBlock , class GridVariables >
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleCellCenterJacobianAndResidualImpl ( JacobianMatrixDiagBlock &  A,
GridVariables &  gridVariables 
)
inline
Returns
The element residual at the current solution.

◆ assembleCellCenterResidualImpl()

template<std::size_t id, class TypeTag , class Assembler >
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleCellCenterResidualImpl ( )
inline

◆ assembleFaceJacobianAndResidualImpl()

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianMatrixDiagBlock , class GridVariables >
auto Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleFaceJacobianAndResidualImpl ( JacobianMatrixDiagBlock &  A,
GridVariables &  gridVariables 
)
inline
Returns
The element residual at the current solution.

◆ assembleFaceResidualImpl()

template<std::size_t id, class TypeTag , class Assembler >
FaceResidualValue Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleFaceResidualImpl ( const SubControlVolumeFace &  scvf)
inline

◆ assembleJacobianAndResidual()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
template<class JacobianMatrixRow , class SubResidual , class GridVariablesTuple >
void Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::assembleJacobianAndResidual ( JacobianMatrixRow &  jacRow,
SubResidual &  res,
GridVariablesTuple &  gridVariables 
)
inlineinherited

◆ assembleJacobianCellCenterCoupling() [1/2]

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianBlock , class GridVariables >
void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleJacobianCellCenterCoupling ( Dune::index_constant< faceId >  domainJ,
JacobianBlock &  A,
const CellCenterResidualValue &  origResidual,
GridVariables &  gridVariables 
)
inline

◆ assembleJacobianCellCenterCoupling() [2/2]

template<std::size_t id, class TypeTag , class Assembler >
template<std::size_t otherId, class JacobianBlock , class GridVariables >
void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleJacobianCellCenterCoupling ( Dune::index_constant< otherId >  domainJ,
JacobianBlock &  A,
const CellCenterResidualValue &  res,
GridVariables &  gridVariables 
)
inline

◆ assembleJacobianFaceCoupling() [1/2]

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianBlock , class ElementResidualVector , class GridVariables >
void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleJacobianFaceCoupling ( Dune::index_constant< cellCenterId >  domainJ,
JacobianBlock &  A,
const ElementResidualVector origResiduals,
GridVariables &  gridVariables 
)
inline

◆ assembleJacobianFaceCoupling() [2/2]

template<std::size_t id, class TypeTag , class Assembler >
template<std::size_t otherId, class JacobianBlock , class ElementResidualVector , class GridVariables >
void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::assembleJacobianFaceCoupling ( Dune::index_constant< otherId >  domainJ,
JacobianBlock &  A,
const ElementResidualVector res,
GridVariables &  gridVariables 
)
inline

◆ assembler()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const Assembler & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::assembler ( ) const
inlineinherited

◆ assembleResidual()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
template<class SubResidual >
void Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::assembleResidual ( SubResidual &  res)
inlineinherited

◆ bindLocalViews()

void Dumux::SubDomainStaggeredLocalAssemblerImplicitBase< id, TypeTag, Assembler, SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true > >::bindLocalViews ( )
inlineinherited

◆ couplingManager()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CouplingManager & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::couplingManager ( )
inlineinherited

◆ curElemFaceVars() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
ElementFaceVariables & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::curElemFaceVars ( )
inlineinherited

◆ curElemFaceVars() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
const ElementFaceVariables & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::curElemFaceVars ( ) const
inlineinherited

◆ curElemVolVars() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::curElemVolVars ( )
inlineinherited

◆ curElemVolVars() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::curElemVolVars ( ) const
inlineinherited

◆ curSol()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const SolutionVector & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::curSol ( ) const
inlineinherited

◆ elemBcTypes() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementBoundaryTypes & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::elemBcTypes ( )
inlineinherited

◆ elemBcTypes() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const ElementBoundaryTypes & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::elemBcTypes ( ) const
inlineinherited

◆ element()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const Element & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::element ( ) const
inlineinherited

◆ elementIsGhost()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
bool Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::elementIsGhost ( ) const
inlineinherited

◆ elemFluxVarsCache() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementFluxVariablesCache & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::elemFluxVarsCache ( )
inlineinherited

◆ elemFluxVarsCache() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const ElementFluxVariablesCache & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::elemFluxVarsCache ( ) const
inlineinherited

◆ enforceInternalDirichletConstraints() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
template<typename ApplyFunction , class P = Problem, typename std::enable_if_t< P::enableInternalDirichletConstraints(), int > = 0>
void Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::enforceInternalDirichletConstraints ( const ApplyFunction &  applyDirichlet)
inlineinherited

◆ enforceInternalDirichletConstraints() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
template<typename ApplyFunction , class P = Problem, typename std::enable_if_t<!P::enableInternalDirichletConstraints(), int > = 0>
void Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::enforceInternalDirichletConstraints ( const ApplyFunction &  applyDirichlet)
inlineinherited

◆ evalAdditionalDerivatives()

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianMatrixDiagBlock , class GridVariables >
void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::evalAdditionalDerivatives ( const std::vector< std::size_t > &  additionalDofDependencies,
JacobianMatrixDiagBlock &  A,
GridVariables &  gridVariables 
)
inline

◆ evalLocalFluxAndSourceResidual() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::evalLocalFluxAndSourceResidual ( ) const
inlineinherited

◆ evalLocalFluxAndSourceResidual() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::evalLocalFluxAndSourceResidual ( const ElementVolumeVariables &  elemVolVars) const
inlineinherited
Parameters
elemVolVarsThe element volume variables

◆ evalLocalFluxAndSourceResidualForCellCenter() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalFluxAndSourceResidualForCellCenter ( ) const
inlineinherited

◆ evalLocalFluxAndSourceResidualForCellCenter() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalFluxAndSourceResidualForCellCenter ( const ElementVolumeVariables &  elemVolVars,
const ElementFaceVariables &  elemFaceVars 
) const
inlineinherited
Parameters
elemVolVarsThe element volume variables
elemFaceVarsThe element face variables

◆ evalLocalFluxAndSourceResidualForFace() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
FaceResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalFluxAndSourceResidualForFace ( const SubControlVolumeFace &  scvf) const
inlineinherited
Parameters
scvfThe sub control volume face

◆ evalLocalFluxAndSourceResidualForFace() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
FaceResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalFluxAndSourceResidualForFace ( const SubControlVolumeFace &  scvf,
const ElementVolumeVariables &  elemVolVars,
const ElementFaceVariables &  elemFaceVars 
) const
inlineinherited
Parameters
scvfThe sub control volume face
elemVolVarsThe element volume variables
elemFaceVarsThe element face variables

◆ evalLocalResidual() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::evalLocalResidual ( ) const
inlineinherited

◆ evalLocalResidual() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::evalLocalResidual ( const ElementVolumeVariables &  elemVolVars) const
inlineinherited
Parameters
elemVolVarsThe element volume variables

◆ evalLocalResidualForCellCenter() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalResidualForCellCenter ( ) const
inlineinherited

◆ evalLocalResidualForCellCenter() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalResidualForCellCenter ( const ElementVolumeVariables &  elemVolVars,
const ElementFaceVariables &  elemFaceVars 
) const
inlineinherited
Parameters
elemVolVarsThe element volume variables
elemFaceVarsThe element face variables

◆ evalLocalResidualForFace() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
FaceResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalResidualForFace ( const SubControlVolumeFace &  scvf) const
inlineinherited
Parameters
scvfThe sub control volume face

◆ evalLocalResidualForFace() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
FaceResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalResidualForFace ( const SubControlVolumeFace &  scvf,
const ElementVolumeVariables &  elemVolVars,
const ElementFaceVariables &  elemFaceVars 
) const
inlineinherited
Parameters
scvfThe sub control volume face
elemVolVarsThe element volume variables
elemFaceVarsThe element face variables

◆ evalLocalStorageResidual()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementResidualVector Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::evalLocalStorageResidual ( ) const
inlineinherited

◆ evalLocalStorageResidualForCellCenter()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
CellCenterResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalStorageResidualForCellCenter ( ) const
inlineinherited

◆ evalLocalStorageResidualForFace()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
FaceResidualValue Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::evalLocalStorageResidualForFace ( const SubControlVolumeFace &  scvf) const
inlineinherited
Parameters
scvfThe sub control volume face

◆ fvGeometry() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
FVElementGeometry & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::fvGeometry ( )
inlineinherited

◆ fvGeometry() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const FVElementGeometry & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::fvGeometry ( ) const
inlineinherited

◆ getVolVarAccess() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
template<class T = TypeTag, typename std::enable_if_t<!GetPropType< T, Properties::GridVariables >::GridVolumeVariables::cachingEnabled, int > = 0>
VolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::getVolVarAccess ( GridVolumeVariables &  gridVolVars,
ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
)
inlineprotectedinherited

◆ getVolVarAccess() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
template<class T = TypeTag, typename std::enable_if_t< GetPropType< T, Properties::GridVariables >::GridVolumeVariables::cachingEnabled, int > = 0>
VolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::getVolVarAccess ( GridVolumeVariables &  gridVolVars,
ElementVolumeVariables &  elemVolVars,
const SubControlVolume &  scv 
)
inlineprotectedinherited

◆ isImplicit()

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
static constexpr bool Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::isImplicit ( )
inlinestaticconstexprinherited

◆ localResidual() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
LocalResidual & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::localResidual ( )
inlineinherited

◆ localResidual() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const LocalResidual & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::localResidual ( ) const
inlineinherited

◆ prevElemFaceVars() [1/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
ElementFaceVariables & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::prevElemFaceVars ( )
inlineinherited

◆ prevElemFaceVars() [2/2]

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
const ElementFaceVariables & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::prevElemFaceVars ( ) const
inlineinherited

◆ prevElemVolVars() [1/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::prevElemVolVars ( )
inlineinherited

◆ prevElemVolVars() [2/2]

template<class TypeTag , class Assembler , class Implementation , bool useImplicitAssembly>
const ElementVolumeVariables & Dumux::FVLocalAssemblerBase< TypeTag, Assembler, Implementation, useImplicitAssembly >::prevElemVolVars ( ) const
inlineinherited

◆ problem()

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
const Problem & Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::problem ( ) const
inlineinherited

◆ updateGlobalJacobian_()

template<std::size_t id, class TypeTag , class Assembler >
template<class SubMatrix , class CCOrFacePrimaryVariables >
static void Dumux::SubDomainStaggeredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::updateGlobalJacobian_ ( SubMatrix &  matrix,
const int  globalI,
const int  globalJ,
const int  pvIdx,
const CCOrFacePrimaryVariables &  partialDeriv 
)
inlinestatic

Member Data Documentation

◆ faceOffset

template<std::size_t id, class TypeTag , class Assembler , class Implementation , bool isImplicit = true>
constexpr auto Dumux::SubDomainStaggeredLocalAssemblerBase< id, TypeTag, Assembler, Implementation, isImplicit >::faceOffset = numEqCellCenter
staticconstexprinherited

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