Loading...
Searching...
No Matches
UniformGeometricFieldWrap< GeoField, Type > Class Template Reference

#include <GeometricFieldExpression.H>

Inheritance diagram for UniformGeometricFieldWrap< GeoField, Type >:
Collaboration diagram for UniformGeometricFieldWrap< GeoField, Type >:

Public Types

typedef Type value_type
 Type to return for internal field.
typedef UniformListWrap< value_typeIntExpr
 Type to return for patchField.
typedef UniformListWrap< value_typeUncoupledPatchExpr
typedef UniformListWrap< value_typeCoupledPatchExpr

Public Member Functions

 UniformGeometricFieldWrap (const GeoField &elems, const value_type val)
 UniformGeometricFieldWrap (const GeoField &elems, const dimensioned< value_type > &val)
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< UniformGeometricFieldWrap< GeoField, typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, typename GeoField::value_type >
 GeometricFieldExpression (const dimensionSet &dimensions, const orientedType oriented)
typename GeoField::value_type operator[] (const label i) const
auto size () const noexcept
const dimensionSetdimensions () const noexcept
const orientedTypeoriented () const noexcept
UniformListWrap< typename GeoField::value_type > internalField () const
UniformListWrap< typename GeoField::value_type > patchField (const label i)
UniformListWrap< typename 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< UniformGeometricFieldWrap< GeoField, typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, typename GeoField::value_type >
static constexpr bool is_leaf

Additional Inherited Members

Protected Attributes inherited from GeometricFieldExpression< UniformGeometricFieldWrap< GeoField, typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, UniformListWrap< typename GeoField::value_type >, typename GeoField::value_type >
const dimensionSet dimensions_
const orientedType oriented_

Detailed Description

template<class GeoField, class Type = typename GeoField::value_type>
class Foam::Expression::UniformGeometricFieldWrap< GeoField, Type >

Definition at line 2095 of file GeometricFieldExpression.H.

Member Typedef Documentation

◆ value_type

template<class GeoField, class Type = typename GeoField::value_type>
typedef Type value_type

Type to return for internal field.

Definition at line 2113 of file GeometricFieldExpression.H.

◆ IntExpr

template<class GeoField, class Type = typename GeoField::value_type>
typedef UniformListWrap<value_type> IntExpr

Type to return for patchField.

Definition at line 2118 of file GeometricFieldExpression.H.

◆ UncoupledPatchExpr

template<class GeoField, class Type = typename GeoField::value_type>
typedef UniformListWrap<value_type> UncoupledPatchExpr

Definition at line 2119 of file GeometricFieldExpression.H.

◆ CoupledPatchExpr

template<class GeoField, class Type = typename GeoField::value_type>
typedef UniformListWrap<value_type> CoupledPatchExpr

Definition at line 2120 of file GeometricFieldExpression.H.

Constructor & Destructor Documentation

◆ UniformGeometricFieldWrap() [1/2]

template<class GeoField, class Type = typename GeoField::value_type>
UniformGeometricFieldWrap ( const GeoField & elems,
const value_type val )
inline

◆ UniformGeometricFieldWrap() [2/2]

template<class GeoField, class Type = typename GeoField::value_type>
UniformGeometricFieldWrap ( const GeoField & elems,
const dimensioned< value_type > & val )
inline

Definition at line 2151 of file GeometricFieldExpression.H.

References Foam::dimless.

Member Function Documentation

◆ operator[]()

template<class GeoField, class Type = typename GeoField::value_type>
value_type operator[] ( const label i) const
inline

Definition at line 2173 of file GeometricFieldExpression.H.

References UniformGeometricFieldWrap().

Here is the call graph for this function:

◆ size()

◆ internalField()

template<class GeoField, class Type = typename GeoField::value_type>
IntExpr internalField ( ) const
inline

Definition at line 2183 of file GeometricFieldExpression.H.

◆ patchField()

template<class GeoField, class Type = typename GeoField::value_type>
UncoupledPatchExpr patchField ( const label i) const
inline

Definition at line 2188 of file GeometricFieldExpression.H.

◆ coupledPatchField()

template<class GeoField, class Type = typename GeoField::value_type>
CoupledPatchExpr coupledPatchField ( const label i) const
inline

Definition at line 2193 of file GeometricFieldExpression.H.

◆ access()

template<class GeoField, class Type = typename GeoField::value_type>
template<class AccessOp>
auto access ( const AccessOp & cop,
const label i ) const
inline

Definition at line 2199 of file GeometricFieldExpression.H.

Member Data Documentation

◆ is_leaf

template<class GeoField, class Type = typename GeoField::value_type>
bool is_leaf = false
staticconstexpr

Definition at line 2108 of file GeometricFieldExpression.H.


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