13#ifndef DUMUX_PNM_1P_VOLUME_VARIABLES_HH
14#define DUMUX_PNM_1P_VOLUME_VARIABLES_HH
31 using Scalar =
typename Traits::PrimaryVariables::value_type;
43 template<
class ElemSol,
class Problem,
class Element,
class Scv>
45 const Problem& problem,
46 const Element& element,
Contains the quantities which are constant within a sub-control volume in the one-phase model.
Definition: porousmediumflow/1p/volumevariables.hh:35
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:65
Scalar porosity() const
Returns the average porosity within the control volume.
Definition: porousmediumflow/1p/volumevariables.hh:184
Contains the quantities which are constant within a finite volume (the pore body) in the one-phase mo...
Definition: porenetwork/1p/volumevariables.hh:29
Scalar poreInscribedRadius() const
Returns the pore's inscribed radius.
Definition: porenetwork/1p/volumevariables.hh:57
Scalar poreVolume_
Definition: porenetwork/1p/volumevariables.hh:68
Scalar poreVolume() const
Returns the pore volume. // TODO should this be a fraction only?
Definition: porenetwork/1p/volumevariables.hh:63
Scalar inscribedPoreRadius_
Definition: porenetwork/1p/volumevariables.hh:67
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:44
Definition: discretization/porenetwork/fvelementgeometry.hh:24
Class to encapsulate the quantities required by the single-phase porous medium flow model per sub-con...