version 3.9.0
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 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
 
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
 
const GlobalPosition & ipGlobal () const
 returns the global position for which this cache has been updated
 
const std::vector< ShapeJacobian > & shapeJacobian () const
 returns the shape function gradients in local coordinates at the integration point
 
const std::vector< ShapeValue > & shapeValues () const
 returns the shape function values at the integration point
 
const JacobianInverseTransposed & jacInvT () const
 returns inverse transposed jacobian at the integration point
 
const GlobalPosition & gradN (unsigned int scvIdxInElement) const
 returns the shape function gradients in global coordinates at the integration point
 

Static Public Attributes

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

Member Function Documentation

◆ gradN()

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

◆ ipGlobal()

template<class Scalar , class GridGeometry >
const GlobalPosition & Dumux::CVFEFluxVariablesCache< Scalar, GridGeometry >::ipGlobal ( ) 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/2]

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/2]

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: