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

Face-centered staggered scheme multi domain local assembler using numeric differentiation and implicit time discretization.

#include <dumux/multidomain/subdomainfclocalassembler.hh>

Inheritance diagram for Dumux::SubDomainFaceCenteredLocalAssembler< 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, const 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 of residuals in subcontrolvolumes in the given element with respect to primary variables of domainJ 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.
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::SubDomainFaceCenteredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >::ElementResidualVector = typename ParentType::LocalResidual::ElementResidualVector

Member Function Documentation

◆ assembleJacobianAndResidual()

void Dumux::SubDomainFaceCenteredLocalAssemblerBase< id, TypeTag, Assembler, SubDomainFaceCenteredLocalAssembler< 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::SubDomainFaceCenteredLocalAssembler< 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::SubDomainFaceCenteredLocalAssemblerBase< id, TypeTag, Assembler, SubDomainFaceCenteredLocalAssembler< 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::SubDomainFaceCenteredLocalAssemblerBase< id, TypeTag, Assembler, SubDomainFaceCenteredLocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, true >, dm, implicit >::bindLocalViews ( )
inlineinherited

◆ couplingManager()

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

◆ curSol()

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

◆ evalLocalSourceResidual()

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

◆ maybeEvalAdditionalDomainDerivatives()

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

◆ maybeUpdateCouplingContext()

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

◆ problem()

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

Member Data Documentation

◆ domainId

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

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