15#ifndef DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH 
   16#define DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH 
   33template<
class TypeTag>
 
   39    using ElementVolumeVariables = 
typename GridVariables::GridVolumeVariables::LocalView;
 
   40    using ElementFluxVariablesCache = 
typename GridVariables::GridFluxVariablesCache::LocalView;
 
   42    using GridGeometry = 
typename GridVariables::GridGeometry;
 
   43    using FVElementGeometry = 
typename GridGeometry::LocalView;
 
   44    using SubControlVolumeFace = 
typename GridGeometry::SubControlVolumeFace;
 
   45    using Element = 
typename GridGeometry::GridView::template Codim<0>::Entity;
 
   51    using ParentType::ParentType;
 
   56    template<
class... Args>
 
   61    template< 
class Problem >
 
   63                         const Element& element,
 
   64                         const FVElementGeometry& fvGeometry,
 
   65                         const ElementVolumeVariables& elemVolVars,
 
   66                         const ElementFluxVariablesCache& elemFluxVarsCache,
 
   67                         const SubControlVolumeFace& scvf)
 const 
   70        if (
problem.couplingManager().isOnInteriorBoundary(element, scvf))
 
   71            return this->
asImp().computeFlux(problem, element, fvGeometry, elemVolVars, scvf, elemFluxVarsCache);
 
 
 
Calculates the element-wise residual for cell-centered discretization schemes.
Calculates the element-wise residual for cell-centered discretization schemes in models where couplin...
Definition multidomain/facet/cellcentered/localresidual.hh:35
typename ParentType::ElementResidualVector ElementResidualVector
export the type used for element residuals
Definition multidomain/facet/cellcentered/localresidual.hh:53
void evalFlux(ElementResidualVector &residual, Args &&... args) const
evaluate the flux residual for a sub control volume face and add to residual
Definition multidomain/facet/cellcentered/localresidual.hh:57
NumEqVector evalFlux(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const ElementFluxVariablesCache &elemFluxVarsCache, const SubControlVolumeFace &scvf) const
evaluate the flux residual for a sub control volume face
Definition multidomain/facet/cellcentered/localresidual.hh:62
Calculates the element-wise residual for the cell-centered discretization schemes.
Definition cclocalresidual.hh:31
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:49
typename ParentType::ElementResidualVector ElementResidualVector
Definition cclocalresidual.hh:45
Implementation & asImp()
Definition fvlocalresidual.hh:488
const Problem & problem() const
the problem
Definition fvlocalresidual.hh:473
Defines all properties used in Dumux.
typename NumEqVectorTraits< PrimaryVariables >::type NumEqVector
A vector with the same size as numbers of equations This is the default implementation and has to be ...
Definition numeqvector.hh:34
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
A helper to deduce a vector with the same size as numbers of equations.