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

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

#include <dumux/multidomain/subdomaincvfelocalassembler.hh>

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

Public Types

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

Public Member Functions

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 coupling 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, false >::ElementResidualVector = typename ParentType::LocalResidual::ElementResidualVector

Member Function Documentation

◆ assembleJacobianAndResidual()

void Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, false > , 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, false >::assembleJacobianCoupling ( Dune::index_constant< otherId > domainJ,
JacobianBlock & A,
const ElementResidualVector & res,
GridVariables & gridVariables )
inline
Note
Since the coupling can only enter sources or fluxes and these are evaluated on the old time level (explicit scheme), the coupling blocks are empty.

◆ assembleJacobianCoupling() [2/2]

void Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, false > , 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, false > , dm, implicit >::bindLocalViews ( )
inlineinherited

◆ couplingManager()

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

◆ curSol()

const auto & Dumux::SubDomainCVFELocalAssemblerBase< id, TypeTag, Assembler, SubDomainCVFELocalAssembler< id, TypeTag, Assembler, DiffMethod::numeric, false > , 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, false > , 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, false > , dm, implicit >::evalLocalSourceResidual ( const Element & neighbor) const
inlineinherited

◆ problem()

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

Member Data Documentation

◆ domainId

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

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