All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sampledSets.C File Reference
Include dependency graph for sampledSets.C:

Go to the source code of this file.

Namespaces

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

Macros

#define FoundFieldType(Type, nullArg)    || foundObject<VolField<Type>>(fields_[fieldi])
 
#define DeclareInterpolations(Type, nullArg)    HashPtrTable<interpolation<Type>> interpolation##Type##s;
 
#define GenerateFieldTypeValues(Type, nullArg)
 
#define FieldTypeValuesParameter(Type, nullArg)    , field##Type##Values
 
#define FieldTypeValuesParameter(Type, nullArg)    , field##Type##Values
 

Functions

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

Detailed Description

Original source file sampledSets.C

Definition in file sampledSets.C.

Macro Definition Documentation

◆ FoundFieldType

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

◆ DeclareInterpolations

#define DeclareInterpolations (   Type,
  nullArg 
)     HashPtrTable<interpolation<Type>> interpolation##Type##s;

◆ GenerateFieldTypeValues

#define GenerateFieldTypeValues (   Type,
  nullArg 
)
Value:
PtrList<Field<Type>> field##Type##Values = \
sampleType<Type>(seti, fieldNames, interpolation##Type##s);
static List< word > fieldNames
Definition: globalFoam.H:46
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))

◆ FieldTypeValuesParameter [1/2]

#define FieldTypeValuesParameter (   Type,
  nullArg 
)     , field##Type##Values

◆ FieldTypeValuesParameter [2/2]

#define FieldTypeValuesParameter (   Type,
  nullArg 
)     , field##Type##Values