All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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<VolInternalField<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<VolInternalField<Type>>(fields_[fieldi])

◆ DeclareTypeValueSets

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

◆ CollapseTypeFields

#define CollapseTypeFields (   Type,
  nullArg 
)
Value:
if (mesh_.foundObject<VolInternalField<Type>>(fieldName)) \
{ \
const VolInternalField<Type>& field = \
mesh_.lookupObject<VolInternalField<Type>>(fieldName); \
\
Type##ValueSets.set \
( \
fieldi, \
average<Type>(weight, layerWeight, field) \
); \
}

◆ TypeValueSetsParameter

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

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 201 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 209 of file layerAverage.C.