24#ifndef DUMUX_FV_CONSTANT_SPATIAL_PARAMS_ONE_P_HH
25#define DUMUX_FV_CONSTANT_SPATIAL_PARAMS_ONE_P_HH
27#warning "This file is deprecated, use FVPorousMediumFlowSpatialParamsOnePConstant from dumux/porousmediumflow/fvspatialparams1pconstant.hh instead!"
38template<
class Gr
idGeometry,
class Scalar>
40[[deprecated(
"Use FVPorousMediumFlowSpatialParamsOnePConstant from dumux/porousmediumflow/fvspatialparams1pconstant.hh instead. This class will be removed after 3.5.")]]
46 using GlobalPosition =
typename GridGeometry::GridView::template Codim<0>::Geometry::GlobalCoordinate;
53 , porosity_(
getParam<Scalar>(
"SpatialParams.Porosity"))
54 , permeability_(
getParam<Scalar>(
"SpatialParams.Permeability"))
61 {
return permeability_; }
70 const Scalar porosity_;
71 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:151
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
Definition: fv1p.hh:80
A spatial params implementation for 1p problem with constant properties.
Definition: fv1pconstant.hh:43
FVSpatialParamsOnePConstant(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fv1pconstant.hh:51
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
The (intrinsic) permeability .
Definition: fv1pconstant.hh:60
Scalar porosityAtPos(const GlobalPosition &globalPos) const
The porosity .
Definition: fv1pconstant.hh:66
Scalar PermeabilityType
Definition: fv1pconstant.hh:49