26#ifndef DUMUX_1P_SINGULARITY_SPATIALPARAMS_HH
27#define DUMUX_1P_SINGULARITY_SPATIALPARAMS_HH
39template<
class Gr
idGeometry,
class Scalar>
42 OnePSingularitySpatialParams<GridGeometry, Scalar>>
44 using FVElementGeometry =
typename GridGeometry::LocalView;
45 using SubControlVolume =
typename FVElementGeometry::SubControlVolume;
46 using GridView =
typename GridGeometry::GridView;
47 using Element =
typename GridView::template Codim<0>::Entity;
51 using GlobalPosition =
typename Element::Geometry::GlobalCoordinate;
59 permeability_ = getParam<Scalar>(
"SpatialParams.Permeability");
60 porosity_= getParam<Scalar>(
"SpatialParams.Porosity");
71 template<
class ElementSolution>
73 const SubControlVolume& scv,
74 const ElementSolution& elemSol)
const
88 Scalar permeability_, porosity_;
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
The spatial parameters class for the test problem using the 1p model with point sources.
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:43
Scalar porosityAtPos(const GlobalPosition &globalPos) const
Defines the porosity .
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:84
OnePSingularitySpatialParams(std::shared_ptr< const GridGeometry > gridGeometry)
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:56
PermeabilityType permeability(const Element &element, const SubControlVolume &scv, const ElementSolution &elemSol) const
Returns the intrinsic permeability for the current sub-control volume in [m^2].
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:72
Scalar PermeabilityType
Definition: porousmediumflow/1p/implicit/pointsources/spatialparams.hh:54
Defines a type tag and some properties for models using the box scheme.