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

Go to the source code of this file.

Classes

class  ListPlusEqOp< T, Size >
 Plus op for FixedList<scalar> More...
 

Namespaces

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

Macros

#define DeclareTypeFields(Type, nullArg)    PtrList<Field<Type>> Type##Fields;
 
#define TypeFieldsAppend(Type, nullArg)    appendFields(binCount, Type##Fields);
 
#define GenerateTypeFields(Type, nullArg)
 
#define TypeFieldsExpand(Type, nullArg)    Type##Fields.setSize(fieldNames.size());
 
#define TypeFieldsParameter(Type, nullArg)   , Type##Fields
 

Functions

 defineTypeNameAndDebug (regionSizeDistribution, 0)
 
 addToRunTimeSelectionTable (functionObject, regionSizeDistribution, dictionary)
 

Detailed Description

Original source file regionSizeDistribution.C

Definition in file regionSizeDistribution.C.

Macro Definition Documentation

◆ DeclareTypeFields

#define DeclareTypeFields (   Type,
  nullArg 
)     PtrList<Field<Type>> Type##Fields;

◆ TypeFieldsAppend

#define TypeFieldsAppend (   Type,
  nullArg 
)     appendFields(binCount, Type##Fields);

◆ GenerateTypeFields

#define GenerateTypeFields (   Type,
  nullArg 
)
Value:
\
if (obr_.foundObject<VolField<Type>>(fields_[fieldi])) \
{ \
found = true; \
\
const VolField<Type>& field = \
obr_.lookupObject<VolField<Type>>(fields_[fieldi]); \
\
generateFields \
( \
fields_[fieldi], \
(alphaVol*field)(), \
regions, \
sortedRegions, \
1.0/sortedVols, \
indices, \
binCount, \
fieldNames, \
Type##Fields \
); \
}

◆ TypeFieldsExpand

#define TypeFieldsExpand (   Type,
  nullArg 
)     Type##Fields.setSize(fieldNames.size());

◆ TypeFieldsParameter

#define TypeFieldsParameter (   Type,
  nullArg 
)    , Type##Fields