Loading...
Searching...
No Matches
GF_add< E1, E2 > Class Template Reference

#include <GeometricFieldExpression.H>

Inheritance diagram for GF_add< E1, E2 >:
Collaboration diagram for GF_add< E1, E2 >:

Public Types

typedef E1::value_type value_type
 Type to return for internal field.
typedef List_add< typename E1::IntExpr, typename E2::IntExpr > IntExpr
 Type to return for patchField.
typedef List_add< typename E1::UncoupledPatchExpr, typename E2::UncoupledPatchExpr > UncoupledPatchExpr
typedef List_add< typename E1::CoupledPatchExpr, typename E2::CoupledPatchExpr > CoupledPatchExpr

Public Member Functions

 GF_add (const E1 &u, const E2 &v)
auto 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< GF_add< E1, E2 >, List_add< E1::IntExpr, E2::IntExpr >, List_add< E1::UncoupledPatchExpr, E2::UncoupledPatchExpr >, List_add< E1::CoupledPatchExpr, E2::CoupledPatchExpr >, E1::value_type >
 GeometricFieldExpression (const dimensionSet &dimensions, const orientedType oriented)
E1::value_type operator[] (const label i) const
auto size () const noexcept
const dimensionSetdimensions () const noexcept
const orientedTypeoriented () const noexcept
IntExpr internalField () const
UncoupledPatchExpr patchField (const label i)
CoupledPatchExpr 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< GF_add< E1, E2 >, List_add< E1::IntExpr, E2::IntExpr >, List_add< E1::UncoupledPatchExpr, E2::UncoupledPatchExpr >, List_add< E1::CoupledPatchExpr, E2::CoupledPatchExpr >, E1::value_type >
static constexpr bool is_leaf

Additional Inherited Members

Protected Attributes inherited from GeometricFieldExpression< GF_add< E1, E2 >, List_add< E1::IntExpr, E2::IntExpr >, List_add< E1::UncoupledPatchExpr, E2::UncoupledPatchExpr >, List_add< E1::CoupledPatchExpr, E2::CoupledPatchExpr >, E1::value_type >
const dimensionSet dimensions_
const orientedType oriented_

Detailed Description

template<typename E1, typename E2>
class Foam::Expression::GF_add< E1, E2 >

Definition at line 957 of file GeometricFieldExpression.H.

Member Typedef Documentation

◆ value_type

template<typename E1, typename E2>
typedef E1::value_type value_type

Type to return for internal field.

Definition at line 990 of file GeometricFieldExpression.H.

◆ IntExpr

template<typename E1, typename E2>
typedef List_add< typename E1::IntExpr, typename E2::IntExpr > IntExpr

Type to return for patchField.

Definition at line 999 of file GeometricFieldExpression.H.

◆ UncoupledPatchExpr

template<typename E1, typename E2>
typedef List_add< typename E1::UncoupledPatchExpr, typename E2::UncoupledPatchExpr > UncoupledPatchExpr

Definition at line 1004 of file GeometricFieldExpression.H.

◆ CoupledPatchExpr

template<typename E1, typename E2>
typedef List_add< typename E1::CoupledPatchExpr, typename E2::CoupledPatchExpr > CoupledPatchExpr

Definition at line 1009 of file GeometricFieldExpression.H.

Constructor & Destructor Documentation

◆ GF_add()

template<typename E1, typename E2>
GF_add ( const E1 & u,
const E2 & v )
inline

Definition at line 1011 of file GeometricFieldExpression.H.

Member Function Documentation

◆ operator[]()

template<typename E1, typename E2>
auto operator[] ( const label i) const
inline

Definition at line 1038 of file GeometricFieldExpression.H.

◆ size()

template<typename E1, typename E2>
auto size ( ) const
inlinenoexcept

Definition at line 1042 of file GeometricFieldExpression.H.

◆ internalField()

template<typename E1, typename E2>
IntExpr internalField ( ) const
inline

Definition at line 1044 of file GeometricFieldExpression.H.

◆ patchField()

template<typename E1, typename E2>
UncoupledPatchExpr patchField ( const label i) const
inline

Definition at line 1049 of file GeometricFieldExpression.H.

◆ coupledPatchField()

template<typename E1, typename E2>
CoupledPatchExpr coupledPatchField ( const label i) const
inline

Definition at line 1054 of file GeometricFieldExpression.H.

◆ access()

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

Definition at line 1064 of file GeometricFieldExpression.H.

Member Data Documentation

◆ is_leaf

template<typename E1, typename E2>
bool is_leaf = false
staticconstexpr

Definition at line 985 of file GeometricFieldExpression.H.


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