version 3.9-dev
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 More...
 

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. More...
 
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. More...
 
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. More...
 
ElementResidualVector evalLocalSourceResidual (const Element &element, const ElementVolumeVariables &elemVolVars) const
 Evaluates the local source term for an element and given element volume variables. More...
 
ElementResidualVector evalLocalSourceResidual (const Element &neighbor) const
 Evaluates the local source term depending on time discretization scheme. More...
 
void bindLocalViews ()
 Prepares all local views necessary for local assembly. More...
 
const Problem & problem (Dune::index_constant< i > dId=domainId) const
 return reference to the underlying problem More...
 
const auto & curSol (Dune::index_constant< i > dId=domainId) const
 return reference to the underlying problem More...
 
CouplingManager & couplingManager ()
 return reference to the coupling manager More...
 

Static Public Attributes

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

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: