27#ifndef DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH
28#define DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH
42template<
class TypeTag>
48 using ElementVolumeVariables =
typename GridVariables::GridVolumeVariables::LocalView;
49 using ElementFluxVariablesCache =
typename GridVariables::GridFluxVariablesCache::LocalView;
51 using GridGeometry =
typename GridVariables::GridGeometry;
52 using FVElementGeometry =
typename GridGeometry::LocalView;
53 using SubControlVolumeFace =
typename GridGeometry::SubControlVolumeFace;
54 using Element =
typename GridGeometry::GridView::template Codim<0>::Entity;
60 using ParentType::ParentType;
66 template<
class Problem >
68 const Element& element,
69 const FVElementGeometry& fvGeometry,
70 const ElementVolumeVariables& elemVolVars,
71 const ElementFluxVariablesCache& elemFluxVarsCache,
72 const SubControlVolumeFace& scvf)
const
75 if (
problem.couplingManager().isOnInteriorBoundary(element, scvf))
76 return this->
asImp().computeFlux(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache);
Calculates the element-wise residual for cell-centered discretization schemes.
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition: cclocalresidual.hh:42
void evalFlux(ElementResidualVector &residual, const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementBoundaryTypes &elemBcTypes, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const
evaluate the flux residual for a sub control volume face and add to residual
Definition: cclocalresidual.hh:58
typename ParentType::ElementResidualVector ElementResidualVector
Definition: cclocalresidual.hh:54
The element-wise residual for finite volume schemes.
Definition: fvlocalresidual.hh:45
Implementation & asImp()
Definition: fvlocalresidual.hh:501
const Problem & problem() const
the problem
Definition: fvlocalresidual.hh:486
Calculates the element-wise residual for cell-centered discretization schemes in models where couplin...
Definition: multidomain/facet/cellcentered/localresidual.hh:44
NumEqVector evalFlux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const
Definition: multidomain/facet/cellcentered/localresidual.hh:67
Declares all properties used in Dumux.