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;
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...
T getParam(Args &&... args)
A free function to get a parameter from the parameter tree singleton.
Definition parameters.hh:428
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
Definition fv1p.hh:334
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.