24#ifndef DUMUX_FV_CONSTANT_SPATIAL_PARAMS_ONE_P_HH
25#define DUMUX_FV_CONSTANT_SPATIAL_PARAMS_ONE_P_HH
36template<
class Gr
idGeometry,
class Scalar>
38:
public FVSpatialParamsOneP<GridGeometry, Scalar, FVSpatialParamsOnePConstant<GridGeometry, Scalar>>
42 using GlobalPosition =
typename GridGeometry::GridView::template Codim<0>::Geometry::GlobalCoordinate;
49 , porosity_(
getParam<Scalar>(
"SpatialParams.Porosity"))
50 , permeability_(
getParam<Scalar>(
"SpatialParams.Permeability"))
57 {
return permeability_; }
66 const Scalar porosity_;
67 const Scalar permeability_;
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition: parameters.hh:364
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
Definition: fv1p.hh:77
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:329
A spatial params implementation for 1p problem with constant properties.
Definition: fv1pconstant.hh:39
FVSpatialParamsOnePConstant(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fv1pconstant.hh:47
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
The (intrinsic) permeability .
Definition: fv1pconstant.hh:56
Scalar porosityAtPos(const GlobalPosition &globalPos) const
The porosity .
Definition: fv1pconstant.hh:62
Scalar PermeabilityType
Definition: fv1pconstant.hh:45