25#ifndef DUMUX_1P_TEST_SPATIALPARAMS_HH
26#define DUMUX_1P_TEST_SPATIALPARAMS_HH
38template<
class Gr
idGeometry,
class Scalar>
39class OnePSpatialParams
40:
public FVSpatialParamsOneP<GridGeometry, Scalar,
41 OnePSpatialParams<GridGeometry, Scalar>>
43 using GridView =
typename GridGeometry::GridView;
45 OnePSpatialParams<GridGeometry, Scalar>>;
47 using Element =
typename GridView::template Codim<0>::Entity;
48 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
57 permeability_ = getParam<Scalar>(
"Darcy.SpatialParams.Permeability");
58 alphaBJ_ = getParam<Scalar>(
"Darcy.SpatialParams.AlphaBeaversJoseph");
68 {
return permeability_; }
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
FVSpatialParamsOneP(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: fv1p.hh:91
const GridGeometry & gridGeometry() const
The finite volume grid geometry.
Definition: fv1p.hh:334
OnePSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: multidomain/boundary/stokesdarcy/1p_1p/spatialparams.hh:54
Scalar beaversJosephCoeffAtPos(const GlobalPosition &globalPos) const
Defines the Beavers-Joseph coefficient in [-].
Definition: multidomain/boundary/stokesdarcy/1p_1p/spatialparams.hh:81
Scalar PermeabilityType
Definition: multidomain/boundary/stokesdarcy/1p2c_1p2c/spatialparams.hh:51
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity in [-].
Definition: multidomain/boundary/stokesdarcy/1p_1p/spatialparams.hh:74
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Function for defining the (intrinsic) permeability .
Definition: multidomain/boundary/stokesdarcy/1p_1p/spatialparams.hh:67