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

Go to the source code of this file.

Namespaces

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

Macros

#define FoundTypeField(Type, nullArg)   || foundObject<VolField<Type>>(fields_[fieldi])
 
#define DeclareTypeValueSets(Type, nullArg)   PtrList<Field<Type>> Type##ValueSets(fieldNames.size());
 
#define CollapseTypeFields(Type, nullArg)
 
#define TypeValueSetsParameter(Type, nullArg)   , Type##ValueSets
 

Functions

 defineTypeNameAndDebug (layerAverage, 0)
 
 addToRunTimeSelectionTable (functionObject, layerAverage, dictionary)
 
template<>
Foam::vector Foam::functionObjects::layerAverage::symmetricCoeff< Foam::vector > () const
 
template<>
Foam::symmTensor Foam::functionObjects::layerAverage::symmetricCoeff< Foam::symmTensor > () const
 
template<>
Foam::tensor Foam::functionObjects::layerAverage::symmetricCoeff< Foam::tensor > () const
 

Detailed Description

Original source file layerAverage.C

Definition in file layerAverage.C.

Macro Definition Documentation

◆ FoundTypeField

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

Referenced by layerAverage::write().

◆ DeclareTypeValueSets

#define DeclareTypeValueSets (   Type,
  nullArg 
)    PtrList<Field<Type>> Type##ValueSets(fieldNames.size());

Referenced by layerAverage::write().

◆ CollapseTypeFields

#define CollapseTypeFields (   Type,
  nullArg 
)
Value:
if (mesh_.foundObject<VolField<Type>>(fieldNames[fieldi])) \
{ \
const VolField<Type>& field = \
mesh_.lookupObject<VolField<Type>>(fieldNames[fieldi]); \
\
Type##ValueSets.set \
( \
fieldi, \
average(field.primitiveField()) \
); \
}
static List< word > fieldNames
Definition: globalFoam.H:46
rDeltaTY field()

Referenced by layerAverage::write().

◆ TypeValueSetsParameter

#define TypeValueSetsParameter (   Type,
  nullArg 
)    , Type##ValueSets

Referenced by layerAverage::write().

Function Documentation

◆ Foam::functionObjects::layerAverage::symmetricCoeff< Foam::vector >()

Foam::vector Foam::functionObjects::layerAverage::symmetricCoeff< Foam::vector > ( ) const

◆ Foam::functionObjects::layerAverage::symmetricCoeff< Foam::symmTensor >()

Foam::symmTensor Foam::functionObjects::layerAverage::symmetricCoeff< Foam::symmTensor > ( ) const

Definition at line 172 of file layerAverage.C.

References Foam::sqr().

Here is the call graph for this function:

◆ Foam::functionObjects::layerAverage::symmetricCoeff< Foam::tensor >()

Foam::tensor Foam::functionObjects::layerAverage::symmetricCoeff< Foam::tensor > ( ) const

Definition at line 180 of file layerAverage.C.

References layerAverage::layerAverage().

Here is the call graph for this function: