Loading...
Searching...
No Matches
GeometricFieldExpression< E, IntExpr, UncoupledPatchExpr, CoupledPatchExpr, Type > Class Template Reference

Expression of GeometricField. More...

#include <GeometricFieldExpression.H>

Inheritance diagram for GeometricFieldExpression< E, IntExpr, UncoupledPatchExpr, CoupledPatchExpr, Type >:
Collaboration diagram for GeometricFieldExpression< E, IntExpr, UncoupledPatchExpr, CoupledPatchExpr, Type >:

Public Member Functions

 GeometricFieldExpression (const dimensionSet &dimensions, const orientedType oriented)
Type operator[] (const label i) const
auto size () const noexcept
const dimensionSetdimensions () const noexcept
const orientedTypeoriented () const noexcept
IntExpr internalField () const
IntExpr internalField ()
UncoupledPatchExpr patchField (const label i)
UncoupledPatchExpr patchField (const label i) const
CoupledPatchExpr coupledPatchField (const label i)
CoupledPatchExpr coupledPatchField (const label i) const
template<class Op>
auto access (const Op &cop, const label i) const
template<class GeoField>
GeoField & evaluate (GeoField &fld, const bool force=false) const
 Helper to evaluate a GeometricField.

Static Public Attributes

static constexpr bool is_leaf = false

Protected Attributes

const dimensionSet dimensions_
const orientedType oriented_

Detailed Description

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
class Foam::Expression::GeometricFieldExpression< E, IntExpr, UncoupledPatchExpr, CoupledPatchExpr, Type >

Expression of GeometricField.

Definition at line 70 of file GeometricFieldExpression.H.

Constructor & Destructor Documentation

◆ GeometricFieldExpression()

Member Function Documentation

◆ operator[]()

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
Type operator[] ( const label i) const
inline

Definition at line 102 of file GeometricFieldExpression.H.

◆ size()

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
auto size ( ) const
inlinenoexcept

Definition at line 108 of file GeometricFieldExpression.H.

References Foam::noexcept.

◆ dimensions()

◆ oriented()

◆ internalField() [1/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
IntExpr internalField ( ) const
inline

Definition at line 120 of file GeometricFieldExpression.H.

Referenced by evaluate().

Here is the caller graph for this function:

◆ internalField() [2/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
IntExpr internalField ( )
inline

Definition at line 125 of file GeometricFieldExpression.H.

◆ patchField() [1/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
UncoupledPatchExpr patchField ( const label i)
inline

Definition at line 130 of file GeometricFieldExpression.H.

Referenced by evaluate().

Here is the caller graph for this function:

◆ patchField() [2/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
UncoupledPatchExpr patchField ( const label i) const
inline

Definition at line 135 of file GeometricFieldExpression.H.

◆ coupledPatchField() [1/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
CoupledPatchExpr coupledPatchField ( const label i)
inline

Definition at line 140 of file GeometricFieldExpression.H.

Referenced by evaluate().

Here is the caller graph for this function:

◆ coupledPatchField() [2/2]

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
CoupledPatchExpr coupledPatchField ( const label i) const
inline

Definition at line 145 of file GeometricFieldExpression.H.

◆ access()

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
template<class Op>
auto access ( const Op & cop,
const label i ) const
inline

Definition at line 151 of file GeometricFieldExpression.H.

References Op.

◆ evaluate()

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
template<class GeoField>
GeoField & evaluate ( GeoField & fld,
const bool force = false ) const
inline

Helper to evaluate a GeometricField.

Definition at line 160 of file GeometricFieldExpression.H.

References coupledPatchField(), dimensions(), ListsRefWrap< V >::evaluate(), fld(), internalField(), Foam::isA(), n, oriented(), and patchField().

Here is the call graph for this function:

Member Data Documentation

◆ dimensions_

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
const dimensionSet dimensions_
protected

Definition at line 74 of file GeometricFieldExpression.H.

Referenced by dimensions(), and GeometricFieldExpression().

◆ oriented_

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
const orientedType oriented_
protected

Definition at line 75 of file GeometricFieldExpression.H.

Referenced by GeometricFieldExpression(), and oriented().

◆ is_leaf

template<typename E, typename IntExpr, typename UncoupledPatchExpr, typename CoupledPatchExpr, typename Type>
bool is_leaf = false
staticconstexpr

Definition at line 78 of file GeometricFieldExpression.H.


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