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

CVFE scheme multi domain local assembler using numeric differentiation and implicit time discretization.

#include <dumux/multidomain/subdomaincvfelocalassembler.hh>

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

Public Types

using ElementResidualVector = typename ParentType::LocalResidual::ElementResidualVector
 export element residual vector type
 

Public Member Functions

template<class ElemSol >
void maybeUpdateCouplingContext (const SubControlVolume &scv, ElemSol &elemSol, const int pvIdx)
 Update the coupling context for coupled models.
 
template<class JacobianMatrixDiagBlock , class GridVariables >
void maybeEvalAdditionalDomainDerivatives (const ElementResidualVector &origResiduals, JacobianMatrixDiagBlock &A, GridVariables &gridVariables)
 Update the additional domain derivatives for coupled models.
 
template<std::size_t otherId, class JacobianBlock , class GridVariables >
void assembleJacobianCoupling (Dune::index_constant< otherId > domainJ, JacobianBlock &A, const ElementResidualVector &res, GridVariables &gridVariables)
 Computes the derivatives with respect to the given element and adds them to the global matrix.
 
void assembleJacobianAndResidual (JacobianMatrixRow &jacRow, SubResidualVector &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.
 
void assembleJacobianCoupling (Dune::index_constant< otherId > domainJ, JacRow &jacRow, const ElementResidualVector &res, GridVariables &gridVariables)
 Assemble the entries in a coupling block of the jacobian. There is no coupling block between a domain and itself.
 
ElementResidualVector evalLocalSourceResidual (const Element &element, const ElementVolumeVariables &elemVolVars) const
 Evaluates the local source term for an element and given element volume variables.
 
ElementResidualVector evalLocalSourceResidual (const Element &neighbor) const
 Evaluates the local source term depending on time discretization scheme.
 
void bindLocalViews ()
 Prepares all local views necessary for local assembly.
 
const Problem & problem (Dune::index_constant< i > dId=domainId) const
 return reference to the underlying problem
 
const auto & curSol (Dune::index_constant< i > dId=domainId) const
 return reference to the underlying problem
 
CouplingManager & couplingManager ()
 return reference to the coupling manager
 

Static Public Attributes

static constexpr auto domainId
 export the domain id of this sub-domain
 

Member Typedef Documentation

◆ ElementResidualVector

template<std::size_t id, class TypeTag , class Assembler >
using Dumux::SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::ElementResidualVector = typename ParentType::LocalResidual::ElementResidualVector

Member Function Documentation

◆ assembleJacobianAndResidual()

void Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::assembleJacobianAndResidual ( JacobianMatrixRow & jacRow,
SubResidualVector & res,
GridVariablesTuple & gridVariables )
inlineinherited

◆ assembleJacobianCoupling() [1/2]

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

◆ assembleJacobianCoupling() [2/2]

void Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::assembleJacobianCoupling ( Dune::index_constant< otherId > domainJ,
JacRow & jacRow,
const ElementResidualVector & res,
GridVariables & gridVariables )
inlineinherited

◆ bindLocalViews()

void Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::bindLocalViews ( )
inlineinherited

◆ couplingManager()

CouplingManager & Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::couplingManager ( )
inlineinherited

◆ curSol()

const auto & Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::curSol ( Dune::index_constant< i > dId = domainId) const
inlineinherited

◆ evalLocalSourceResidual() [1/2]

ElementResidualVector Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::evalLocalSourceResidual ( const Element & element,
const ElementVolumeVariables & elemVolVars ) const
inlineinherited

◆ evalLocalSourceResidual() [2/2]

ElementResidualVector Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::evalLocalSourceResidual ( const Element & neighbor) const
inlineinherited

◆ maybeEvalAdditionalDomainDerivatives()

template<std::size_t id, class TypeTag , class Assembler >
template<class JacobianMatrixDiagBlock , class GridVariables >
void Dumux::SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::maybeEvalAdditionalDomainDerivatives ( const ElementResidualVector & origResiduals,
JacobianMatrixDiagBlock & A,
GridVariables & gridVariables )
inline

◆ maybeUpdateCouplingContext()

template<std::size_t id, class TypeTag , class Assembler >
template<class ElemSol >
void Dumux::SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::maybeUpdateCouplingContext ( const SubControlVolume & scv,
ElemSol & elemSol,
const int pvIdx )
inline

◆ problem()

const Problem & Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::problem ( Dune::index_constant< i > dId = domainId) const
inlineinherited

Member Data Documentation

◆ domainId

auto Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::domainId
staticconstexprinherited

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