Go to the source code of this file.
|
#define | FoundTypeField(Type, nullArg) || foundObject<VolField<Type>>(fields_[fieldi]) |
|
#define | DeclareTypeInterpolator(Type, nullArg) PtrList<interpolation<Type>> Type##Interp(fieldNames.size()); |
|
#define | ConstructTypeInterpolator(Type, nullArg) |
|
#define | DeclareAllTypes(Type, nullArg) List<DynamicField<Type>> all##Type##s(fieldNames.size()); |
|
#define | TypeInterpolatorParameter(Type, nullArg) Type##Interp, |
|
#define | AllTypesParameter(Type, nullArg) , all##Type##s |
|
#define | GatherAndFlattenAllTypes(Type, nullArg) |
|
#define | RMapAllTypes(Type, nullArg) |
|
#define | ShuffleUpAllTypes(Type, nullArg) |
|
#define | ResizeAllTypes(Type, nullArg) |
|
#define | DeclareTypeValueSets(Type, nullArg) UPtrList<const Field<Type>> Type##ValueSets(nValueSets); |
|
#define | SetTypeValueSetPtr(Type, nullArg) |
|
#define | TypeValueSetsParameter(Type, nullArg) , Type##ValueSets |
|
Original source file streamlines.C
Definition in file streamlines.C.
◆ FoundTypeField
#define FoundTypeField |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| || foundObject<VolField<Type>>(fields_[fieldi]) |
◆ DeclareTypeInterpolator
#define DeclareTypeInterpolator |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| PtrList<interpolation<Type>> Type##Interp(fieldNames.size()); |
◆ ConstructTypeInterpolator
#define ConstructTypeInterpolator |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (mesh_.foundObject<VolField<Type>>(
fieldNames[fieldi])) \
{ \
Type##Interp.set \
( \
( \
interpolationScheme_, \
mesh_.lookupObject<VolField<Type>>(
fieldNames[fieldi]) \
) \
); \
}
static List< word > fieldNames
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
◆ DeclareAllTypes
#define DeclareAllTypes |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| List<DynamicField<Type>> all##Type##s(fieldNames.size()); |
◆ TypeInterpolatorParameter
#define TypeInterpolatorParameter |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| Type##Interp, |
◆ AllTypesParameter
#define AllTypesParameter |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| , all##Type##s |
◆ GatherAndFlattenAllTypes
#define GatherAndFlattenAllTypes |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##Interp.set(fieldi)) \
{ \
gatherAndFlatten(all##Type##
s[fieldi]); \
}
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))
◆ RMapAllTypes
#define RMapAllTypes |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##Interp.set(fieldi)) \
{ \
all##Type##
s[fieldi].rmap(all##Type##
s[fieldi],
order); \
}
int order(const scalar s)
◆ ShuffleUpAllTypes
#define ShuffleUpAllTypes |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##Interp.set(fieldi)) \
{ \
all##Type##
s[fieldi][samplei] = \
all##Type##
s[fieldi][samplej]; \
}
◆ ResizeAllTypes
#define ResizeAllTypes |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##Interp.set(fieldi)) \
{ \
all##Type##
s[fieldi].resize(samplei); \
}
◆ DeclareTypeValueSets
#define DeclareTypeValueSets |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| UPtrList<const Field<Type>> Type##ValueSets(nValueSets); |
◆ SetTypeValueSetPtr
#define SetTypeValueSetPtr |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| |
Value: if (Type##Interp.set(fieldi)) \
{ \
Type##ValueSets.set \
( \
fieldi + writeAge_, \
); \
}
◆ TypeValueSetsParameter
#define TypeValueSetsParameter |
( |
|
Type, |
|
|
|
nullArg |
|
) |
| , Type##ValueSets |