25#ifndef DUMUX_SEQUENTIAL_FV_SPATIAL_PARAMS_HH
26#define DUMUX_SEQUENTIAL_FV_SPATIAL_PARAMS_HH
33{
template<
class TypeTag,
class MyTypeTag>
41template<
class TypeTag>
51 dimWorld = GridView::dimensionworld
54 using Element =
typename GridView::template Codim<0>::Entity;
55 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
74 return asImp_().materialLawParamsAtPos(element.geometry().center());
85 DUNE_THROW(Dune::InvalidStateException,
86 "The spatial parameters do not provide "
87 "a materialLawParamsAtPos() method.");
91 Implementation &asImp_()
93 return *
static_cast<Implementation*
> (
this);
96 const Implementation &asImp_()
const
98 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 (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
a tag to mark properties as undefined
Definition: propertysystem.hh:36
Definition: sequentialfv.hh:34
The base class for spatial parameters of a multi-phase problem using the fv method.
Definition: sequentialfv.hh:43
SequentialFVSpatialParams(const Problem &problem)
Definition: sequentialfv.hh:61
const MaterialLawParams & materialLawParamsAtPos(const GlobalPosition &globalPos) const
Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw,...
Definition: sequentialfv.hh:83
const MaterialLawParams & materialLawParams(const Element &element) const
Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw,...
Definition: sequentialfv.hh:72
The base class for spatial parameters of problems using the fv method.
Definition: sequentialfv1p.hh:42
Declares all properties used in Dumux.