12#ifndef DUMUX_PNM_SOLID_ENERGY_FLUXVARIABLESCACHE_HH
13#define DUMUX_PNM_SOLID_ENERGY_FLUXVARIABLESCACHE_HH
24 template<
class Problem,
class Element,
class FVElementGeometry,
25 class ElementVolumeVariables,
class SubControlVolumeFace>
27 const Element& element,
28 const FVElementGeometry& fvGeometry,
29 const ElementVolumeVariables& elemVolVars,
30 const SubControlVolumeFace& scvf)
32 grainContactArea_ = problem.spatialParams().throatCrossSectionalArea(element, elemVolVars);
33 throatLength_ = problem.spatialParams().throatLength(element, elemVolVars);
34 throatInscribedRadius_ = problem.spatialParams().throatInscribedRadius(element, elemVolVars);
38 {
return grainContactArea_; }
41 {
return throatLength_; }
44 {
return throatInscribedRadius_; }
47 Scalar grainContactArea_;
49 Scalar throatInscribedRadius_;
Definition: porenetwork/solidenergy/fluxvariablescache.hh:19
Scalar grainContactArea() const
Definition: porenetwork/solidenergy/fluxvariablescache.hh:37
static bool constexpr isSolDependent
whether the cache needs an update when the solution changes
Definition: porenetwork/solidenergy/fluxvariablescache.hh:22
Scalar throatInscribedRadius() const
Definition: porenetwork/solidenergy/fluxvariablescache.hh:43
void update(const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf)
Definition: porenetwork/solidenergy/fluxvariablescache.hh:26
Scalar throatLength() const
Definition: porenetwork/solidenergy/fluxvariablescache.hh:40
Definition: discretization/porenetwork/fvelementgeometry.hh:24