version 3.11-dev
Loading...
Searching...
No Matches
Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry > Class Template Reference

Flux variables cache class for control-volume finite element schemes. For control-volume finite element schemes, this class does not contain any physics-/process-dependent data. It solely stores disretization-/grid-related data.

#include <dumux/discretization/cvfe/fluxvariablescache.hh>

Inheritance diagram for Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >:

Public Types

using ScvfQuadratureRule = CVFE::Detail::ScvfQuadratureRuleType<FVElementGeometry>

Public Member Functions

template<class Problem, class ElementVolumeVariables>
void update (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf)
 update the cache for an scvf (only enabled for MidpointQuadrature)
template<class Problem, class ElementVolumeVariables>
void update (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const GlobalPosition &globalPos)
 update the cache for a given global position
template<class Problem, class ElementVolumeVariables, Concept::IpData IpData>
void update (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const IpData &ipData)
 update the cache for interpolation point data
const GlobalPosition & ipGlobal () const
 returns the global position for which this cache has been updated
const LocalPosition & ipLocal () const
 returns the local position for which this cache has been updated
IpData ipData () const
 returns the ipData for which this cache has been updated
const std::vector< ShapeJacobian > & shapeJacobian () const
 returns the shape function gradients in local coordinates at the interpolation point
const std::vector< ShapeValue > & shapeValues () const
 returns the shape function values at the interpolation point
const JacobianInverseTransposed & jacInvT () const
 returns inverse transposed jacobian at the interpolation point
const GlobalPosition & gradN (unsigned int scvIdxInElement) const
 returns the shape function gradients in global coordinates at the interpolation point

Static Public Attributes

static bool constexpr isSolDependent = false
 whether the cache needs an update when the solution changes

Member Typedef Documentation

◆ ScvfQuadratureRule

template<class Scalar, class GridGeometry>
using Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::ScvfQuadratureRule = CVFE::Detail::ScvfQuadratureRuleType<FVElementGeometry>

Member Function Documentation

◆ gradN()

template<class Scalar, class GridGeometry>
const GlobalPosition & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::gradN ( unsigned int scvIdxInElement) const
inline

◆ ipData()

template<class Scalar, class GridGeometry>
IpData Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::ipData ( ) const
inline

◆ ipGlobal()

template<class Scalar, class GridGeometry>
const GlobalPosition & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::ipGlobal ( ) const
inline

◆ ipLocal()

template<class Scalar, class GridGeometry>
const LocalPosition & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::ipLocal ( ) const
inline

◆ jacInvT()

template<class Scalar, class GridGeometry>
const JacobianInverseTransposed & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::jacInvT ( ) const
inline

◆ shapeJacobian()

template<class Scalar, class GridGeometry>
const std::vector< ShapeJacobian > & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::shapeJacobian ( ) const
inline

◆ shapeValues()

template<class Scalar, class GridGeometry>
const std::vector< ShapeValue > & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::shapeValues ( ) const
inline

◆ update() [1/3]

template<class Scalar, class GridGeometry>
template<class Problem, class ElementVolumeVariables>
void Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::update ( const Problem & problem,
const Element & element,
const FVElementGeometry & fvGeometry,
const ElementVolumeVariables & elemVolVars,
const GlobalPosition & globalPos )
inline

◆ update() [2/3]

template<class Scalar, class GridGeometry>
template<class Problem, class ElementVolumeVariables, Concept::IpData IpData>
void Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::update ( const Problem & problem,
const Element & element,
const FVElementGeometry & fvGeometry,
const ElementVolumeVariables & elemVolVars,
const IpData & ipData )
inline

◆ update() [3/3]

template<class Scalar, class GridGeometry>
template<class Problem, class ElementVolumeVariables>
void Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::update ( const Problem & problem,
const Element & element,
const FVElementGeometry & fvGeometry,
const ElementVolumeVariables & elemVolVars,
const SubControlVolumeFace & scvf )
inline

Member Data Documentation

◆ isSolDependent

template<class Scalar, class GridGeometry>
bool constexpr Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::isSolDependent = false
staticconstexpr

The documentation for this class was generated from the following file: