24#ifndef DUMUX_POROUS_MEDIUM_FLOW_PROBLEM_HH
25#define DUMUX_POROUS_MEDIUM_FLOW_PROBLEM_HH
38template<
class TypeTag>
45 using Element =
typename GridGeometry::GridView::template Codim<0>::Entity;
46 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
51 using ParentType::ParentType;
69 [[deprecated(
"temperature should now be defined in the spatial params with temperature(globalPos)")]]
70 Scalar
temperatureAtPos(
const GlobalPosition &globalPos,
int deprecationHelper = 0)
const
71 {
return this->
asImp_().temperature(); }
78 [[deprecated(
"temperature should now be defined in the spatial params with temperature(globalPos)")]]
81 DUNE_THROW(Dune::NotImplemented,
"temperature() method not implemented by the user problem");
Base class for all finite volume problems that are parameterized.
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:150
Base class for all finite-volume problems.
Definition: common/fvproblem.hh:55
Implementation & asImp_()
Returns the implementation of the problem (i.e. static polymorphism)
Definition: common/fvproblem.hh:591
Base class for all finite-volume problems using spatial parameters.
Definition: fvproblemwithspatialparams.hh:41
Base class for all fully implicit porous media problems.
Definition: porousmediumflow/problem.hh:40
Scalar temperatureAtPos(const GlobalPosition &globalPos, int deprecationHelper=0) const
Returns the temperature at a given global position.
Definition: porousmediumflow/problem.hh:70
Scalar temperature(int deprecationHelper=0) const
Returns the temperature for an isothermal problem.
Definition: porousmediumflow/problem.hh:79
Declares all properties used in Dumux.