Loading...
Searching...
No Matches
GeometricFieldConstRefWrap< GeoField > Class Template Reference

Expression wrap of const reference to GeometricField. More...

#include <GeometricFieldExpression.H>

Inheritance diagram for GeometricFieldConstRefWrap< GeoField >:
Collaboration diagram for GeometricFieldConstRefWrap< GeoField >:

Public Types

typedef GeoField this_type
 The GeometricField type.
typedef GeoField::value_type value_type
 Type to return for internal field.
typedef ListConstRefWrap< value_typeIntExpr
 Type to return for patchField.
typedef ListConstRefWrap< value_typeUncoupledPatchExpr
typedef ListConstTmpWrap< Field< value_type > > CoupledPatchExpr

Public Member Functions

 GeometricFieldConstRefWrap (const this_type &elems)
const auto & data () const
value_type operator[] (const label i) const
auto size () const noexcept
IntExpr internalField () const
UncoupledPatchExpr patchField (const label i) const
CoupledPatchExpr coupledPatchField (const label i) const
template<class AccessOp>
auto access (const AccessOp &cop, const label i) const
Public Member Functions inherited from GeometricFieldExpression< GeometricFieldConstRefWrap< GeoField >, ListConstRefWrap< GeoField::value_type >, ListConstRefWrap< GeoField::value_type >, ListConstTmpWrap< Field< GeoField::value_type > >, GeoField::value_type >
 GeometricFieldExpression (const dimensionSet &dimensions, const orientedType oriented)
GeoField::value_type operator[] (const label i) const
auto size () const noexcept
const dimensionSetdimensions () const noexcept
const orientedTypeoriented () const noexcept
ListConstRefWrap< GeoField::value_type > internalField () const
ListConstRefWrap< GeoField::value_type > patchField (const label i)
ListConstTmpWrap< Field< GeoField::value_type > > coupledPatchField (const label i)
auto access (const Op &cop, const label i) const
GeoField & evaluate (GeoField &fld, const bool force=false) const
 Helper to evaluate a GeometricField.

Static Public Attributes

static constexpr bool is_leaf = false
Static Public Attributes inherited from GeometricFieldExpression< GeometricFieldConstRefWrap< GeoField >, ListConstRefWrap< GeoField::value_type >, ListConstRefWrap< GeoField::value_type >, ListConstTmpWrap< Field< GeoField::value_type > >, GeoField::value_type >
static constexpr bool is_leaf

Additional Inherited Members

Protected Attributes inherited from GeometricFieldExpression< GeometricFieldConstRefWrap< GeoField >, ListConstRefWrap< GeoField::value_type >, ListConstRefWrap< GeoField::value_type >, ListConstTmpWrap< Field< GeoField::value_type > >, GeoField::value_type >
const dimensionSet dimensions_
const orientedType oriented_

Detailed Description

template<class GeoField>
class Foam::Expression::GeometricFieldConstRefWrap< GeoField >

Expression wrap of const reference to GeometricField.

Definition at line 621 of file GeometricFieldExpression.H.

Member Typedef Documentation

◆ this_type

template<class GeoField>
typedef GeoField this_type

The GeometricField type.

Definition at line 639 of file GeometricFieldExpression.H.

◆ value_type

template<class GeoField>
typedef GeoField::value_type value_type

Type to return for internal field.

Definition at line 644 of file GeometricFieldExpression.H.

◆ IntExpr

template<class GeoField>
typedef ListConstRefWrap<value_type> IntExpr

Type to return for patchField.

Definition at line 649 of file GeometricFieldExpression.H.

◆ UncoupledPatchExpr

template<class GeoField>
typedef ListConstRefWrap<value_type> UncoupledPatchExpr

Definition at line 650 of file GeometricFieldExpression.H.

◆ CoupledPatchExpr

template<class GeoField>
typedef ListConstTmpWrap<Field<value_type> > CoupledPatchExpr

Definition at line 651 of file GeometricFieldExpression.H.

Constructor & Destructor Documentation

◆ GeometricFieldConstRefWrap()

template<class GeoField>
GeometricFieldConstRefWrap ( const this_type & elems)
inline

Definition at line 662 of file GeometricFieldExpression.H.

Member Function Documentation

◆ data()

template<class GeoField>
const auto & data ( ) const
inline

Definition at line 680 of file GeometricFieldExpression.H.

◆ operator[]()

template<class GeoField>
value_type operator[] ( const label i) const
inline

Definition at line 685 of file GeometricFieldExpression.H.

◆ size()

template<class GeoField>
auto size ( ) const
inlinenoexcept

Definition at line 690 of file GeometricFieldExpression.H.

◆ internalField()

template<class GeoField>
IntExpr internalField ( ) const
inline

Definition at line 695 of file GeometricFieldExpression.H.

◆ patchField()

template<class GeoField>
UncoupledPatchExpr patchField ( const label i) const
inline

Definition at line 700 of file GeometricFieldExpression.H.

◆ coupledPatchField()

template<class GeoField>
CoupledPatchExpr coupledPatchField ( const label i) const
inline

Definition at line 725 of file GeometricFieldExpression.H.

◆ access()

template<class GeoField>
template<class AccessOp>
auto access ( const AccessOp & cop,
const label i ) const
inline

Definition at line 750 of file GeometricFieldExpression.H.

Member Data Documentation

◆ is_leaf

template<class GeoField>
bool is_leaf = false
staticconstexpr

Definition at line 634 of file GeometricFieldExpression.H.


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