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

Go to the source code of this file.

Namespaces

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

Macros

#define FoundFieldType(Type, nullArg)
 
#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 (sampledSurfaces, 0)
 
 addToRunTimeSelectionTable (functionObject, sampledSurfaces, dictionary)
 

Detailed Description

Original source file sampledSurfaces.C

Definition in file sampledSurfaces.C.

Macro Definition Documentation

◆ FoundFieldType

#define FoundFieldType (   Type,
  nullArg 
)
Value:
|| foundObject<VolField<Type>>(fields_[fieldi]) \
|| foundObject<SurfaceField<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>(surfi, 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