25#ifndef DUMUX_PNM_1P_VOLUME_VARIABLES_HH
26#define DUMUX_PNM_1P_VOLUME_VARIABLES_HH
43 using Scalar =
typename Traits::PrimaryVariables::value_type;
55 template<
class ElemSol,
class Problem,
class Element,
class Scv>
57 const Problem& problem,
58 const Element& element,
Definition: discretization/porenetwork/fvelementgeometry.hh:34
Contains the quantities which are constant within a finite volume (the pore body) in the one-phase mo...
Definition: porenetwork/1p/volumevariables.hh:41
Scalar poreInscribedRadius() const
Returns the pore's inscribed radius.
Definition: porenetwork/1p/volumevariables.hh:69
Scalar poreVolume_
Definition: porenetwork/1p/volumevariables.hh:80
Scalar poreVolume() const
Returns the pore volume. // TODO should this be a fraction only?
Definition: porenetwork/1p/volumevariables.hh:75
Scalar inscribedPoreRadius_
Definition: porenetwork/1p/volumevariables.hh:79
void update(const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv)
Updates all quantities for a given control volume.
Definition: porenetwork/1p/volumevariables.hh:56
Contains the quantities which are constant within a sub-control volume in the one-phase model.
Definition: porousmediumflow/1p/volumevariables.hh:47
void update(const ElemSol &elemSol, const Problem &problem, const Element &element, const Scv &scv)
Updates all quantities for a given control volume.
Definition: porousmediumflow/1p/volumevariables.hh:77
Scalar porosity() const
Returns the average porosity within the control volume.
Definition: porousmediumflow/1p/volumevariables.hh:196
Class to encapsulate the quantities required by the single-phase porous medium flow model per sub-con...