cutLayerAverage.C File Reference
Include dependency graph for cutLayerAverage.C:

Go to the source code of this file.

Classes

class  faceData
 Base class for classes which manage incomplete sets of face data. More...
 
class  faceCutData
 Class to manage face cut data. More...
 
class  faceFsData
 Class to manage face basis function data. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::functionObjects
 Namespace for functionObjects.
 

Macros

#define DeclareTypeFieldValues(Type, nullArg)    PtrList<Field<Type>> Type##FieldValues;
 
#define ResizeTypeFieldValues(Type, nullArg)    Type##FieldValues.resize(nFields);
 
#define TypeFieldValuesParameter(Type, nullArg)    , Type##FieldValues
 
#define FoundTypeField(Type, nullArg)    || foundObject<VolField<Type>>(fields_[fieldi])
 
#define DeclareTypeFieldValues(Type, nullArg)    PtrList<Field<Type>> Type##FieldValues(fieldNames.size());
 
#define CollapseTypeFields(Type, GeoField)
 
#define TypeFieldValuesParameter(Type, nullArg)   , Type##FieldValues
 

Functions

 defineTypeNameAndDebug (cutLayerAverage, 0)
 
 addToRunTimeSelectionTable (functionObject, cutLayerAverage, dictionary)
 
template<class Type >
autoPtr< Pair< Field< Type > > > fieldPairPtr (const label size)
 Allocate and return a pair of fields. More...
 
template<class Type >
autoPtr< Pair< Pair< Field< Type > > > > fieldPairPairPtr (const label size)
 Allocate and return a pair of a pair of fields. More...
 

Detailed Description

Original source file cutLayerAverage.C

Definition in file cutLayerAverage.C.

Macro Definition Documentation

◆ DeclareTypeFieldValues [1/2]

#define DeclareTypeFieldValues (   Type,
  nullArg 
)     PtrList<Field<Type>> Type##FieldValues;

◆ ResizeTypeFieldValues

#define ResizeTypeFieldValues (   Type,
  nullArg 
)     Type##FieldValues.resize(nFields);

◆ TypeFieldValuesParameter [1/2]

#define TypeFieldValuesParameter (   Type,
  nullArg 
)     , Type##FieldValues

◆ FoundTypeField

#define FoundTypeField (   Type,
  nullArg 
)     || foundObject<VolField<Type>>(fields_[fieldi])

◆ DeclareTypeFieldValues [2/2]

#define DeclareTypeFieldValues (   Type,
  nullArg 
)     PtrList<Field<Type>> Type##FieldValues(fieldNames.size());

◆ CollapseTypeFields

#define CollapseTypeFields (   Type,
  GeoField 
)
Value:
if (mesh_.foundObject<GeoField<Type>>(fieldNames[fieldi])) \
{ \
const GeoField<Type>& field = \
mesh_.lookupObject<GeoField<Type>>(fieldNames[fieldi]); \
\
Type##FieldValues.set \
( \
fieldi, \
applyWeights<Type>(weights_, field) \
); \
}
static List< word > fieldNames
Definition: globalFoam.H:46

◆ TypeFieldValuesParameter [2/2]

#define TypeFieldValuesParameter (   Type,
  nullArg 
)    , Type##FieldValues