12#ifndef DUMUX_COMMON_PROBLEM_WITH_SPATIAL_PARAMS_HH
13#define DUMUX_COMMON_PROBLEM_WITH_SPATIAL_PARAMS_HH
26template<
class TypeTag,
class BaseProblem = Problem<TypeTag>>
30 using ParentType = BaseProblem;
63 {
return *spatialParams_; }
67 {
return *spatialParams_; }
71 std::shared_ptr<SpatialParams> spatialParams_;
const std::string & paramGroup() const
The parameter group in which to retrieve runtime parameters.
Definition common/problem.hh:304
const GridDiscretization & gridDiscretization() const
The grid discretization.
Definition common/problem.hh:300
ProblemWithSpatialParams(std::shared_ptr< const GridDiscretization > gridDiscretization, const std::string ¶mGroup="")
Constructor.
Definition problemwithspatialparams.hh:42
GetPropType< TypeTag, Properties::SpatialParams > SpatialParams
Definition problemwithspatialparams.hh:34
ProblemWithSpatialParams(std::shared_ptr< const GridDiscretization > gridDiscretization, std::shared_ptr< SpatialParams > spatialParams, const std::string ¶mGroup="")
Constructor.
Definition problemwithspatialparams.hh:54
const SpatialParams & spatialParams() const
Return a reference to the underlying spatial parameters.
Definition problemwithspatialparams.hh:62
SpatialParams & spatialParams()
Return a reference to the underlying spatial parameters.
Definition problemwithspatialparams.hh:66
Base class for all standard finite volume or finite element problems.
Defines all properties used in Dumux.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:296
Definition assembly/assembler.hh:44