expressionEntryVectors.H File Reference

Creates an expression string from common VectorSpace types. More...

Include dependency graph for expressionEntryVectors.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vectorEntry
 Create an expression string from a vector. More...
 
struct  tensorEntry
 Create an expression string from a tensor. More...
 
struct  symmTensorEntry
 Create an expression string from a symmTensor. More...
 
struct  sphericalTensorEntry
 Create an expression string from a sphericalTensor. More...
 

Namespaces

namespace  Foam
 Namespace for OpenFOAM.
 
namespace  Foam::exprTools
 Helper methods for creating expressions.
 

Macros

#define declareExpressionEntryType(Type)
 

Detailed Description

Creates an expression string from common VectorSpace types.

Original source file expressionEntryVectors.H

Source files

Definition in file expressionEntryVectors.H.

Macro Definition Documentation

◆ declareExpressionEntryType

#define declareExpressionEntryType (   Type)
Value:
\
struct Type##Entry : public exprTools::expressionEntry \
{ \ \
static string evaluate(const entry& e); \
\ \
virtual string toExpr(const entry& e) const \
{ \
return evaluate(e); \
} \
};
volScalarField & e
Definition: createFields.H:11

Definition at line 48 of file expressionEntryVectors.H.