25#ifndef DUMUX_SEQUENTIAL_FV_SPATIAL_PARAMS_HH
26#define DUMUX_SEQUENTIAL_FV_SPATIAL_PARAMS_HH
38template<
class TypeTag>
48 dimWorld = GridView::dimensionworld
51 using Element =
typename GridView::template Codim<0>::Entity;
52 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
67 return asImp_().fluidMatrixInteractionAtPos(element.geometry().center());
78 DUNE_THROW(Dune::InvalidStateException,
79 "The spatial parameters do not provide "
80 "a fluidMatrixInteractionAtPos() method.");
84 Implementation &asImp_()
86 return *
static_cast<Implementation*
> (
this);
89 const Implementation &asImp_()
const
91 return *
static_cast<const Implementation*
> (
this);
The base class for spatial parameters of problems using the fv method.
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
The base class for spatial parameters of a multi-phase problem using the fv method.
Definition: sequentialfv.hh:40
auto fluidMatrixInteractionAtPos(const GlobalPosition &globalPos) const
Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw,...
Definition: sequentialfv.hh:76
auto fluidMatrixInteraction(const Element &element) const
Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw,...
Definition: sequentialfv.hh:65
SequentialFVSpatialParams(const Problem &problem)
Definition: sequentialfv.hh:55
The base class for spatial parameters of problems using the fv method.
Definition: sequentialfv1p.hh:42
Declares all properties used in Dumux.