35 namespace functionObjects
78 #define readValueType(Type, GeoField) \ 79 if (GeoField<Type>::typeName == fieldType_) \ 82 Type##Value_ = dict.lookup<Type>("value"); \ 91 <<
"Field type " << fieldType_ <<
" not recognised" <<
endl <<
endl;
94 #define getFieldType(Type, GeoField) \ 95 fieldTypes.append(GeoField<Type>::typeName); 101 <<
"Available field types are : " << endl
112 #define calcType(Type, GeoField) \ 113 if (GeoField<Type>::typeName == fieldType_) \ 118 GeoField<Type>::New \ 122 dimensioned<Type>(dimensions_, Type##Value_) \ 136 return writeObject(name_);
142 return clearObject(name_);
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
addToRunTimeSelectionTable(functionObject, Qdot, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
const dimensionSet dimless
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Macros for easy insertion into run-time selection tables.
virtual bool read(const dictionary &)
Read optional controls.
Dimension set for the base types.
bool read(const char *, int32_t &)
A class for handling words, derived from string.
static const word null
An empty word.
defineTypeNameAndDebug(Qdot, 0)
FOR_ALL_FIELD_TYPES(DefineFvWallInfoType)
Specialisation of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.