25#ifndef DUMUX_1PNC_TEST_SPATIAL_PARAMS_HH
26#define DUMUX_1PNC_TEST_SPATIAL_PARAMS_HH
37template<
class Gr
idGeometry,
class Scalar>
40 OnePNCTestSpatialParams<GridGeometry, Scalar>>
42 using GridView =
typename GridGeometry::GridView;
43 using FVElementGeometry =
typename GridGeometry::LocalView;
44 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
45 using Element =
typename GridView::template Codim<0>::Entity;
49 static const int dimWorld = GridView::dimensionworld;
50 using GlobalPosition =
typename Dune::FieldVector<Scalar, dimWorld>;
59 permeability_ = 1e-10;
69 {
return permeability_; }
86 template<
class ElementSolution>
88 const SubControlVolume& scv,
89 const ElementSolution& elemSol)
const
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
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:334
Definition of the spatial parameters for the 1pnc test problems.
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:41
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:76
PermeabilityType permeabilityAtPos(const GlobalPosition &globalPos) const
Defines the intrinsic permeability .
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:68
OnePNCTestSpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:56
Scalar PermeabilityType
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:54
Scalar dispersivity(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Defines the dispersivity.
Definition: porousmediumflow/1pnc/implicit/1p2c/spatialparams.hh:87
Defines a type tag and some properties for models using the box scheme.