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])

Referenced by sampledSets::write().

◆ DeclareInterpolations

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

Referenced by sampledSets::write().

◆ 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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
rDeltaTY field()

Referenced by sampledSets::write().

◆ FieldTypeValuesParameter [1/2]

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

Referenced by sampledSets::write().

◆ FieldTypeValuesParameter [2/2]

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