Go to the documentation of this file.
62 const bool loadFromFiles)
84 if (!isA<fvMesh>(obr_))
88 "derivedFields::derivedFields(const objectRegistry& obr, const dictionary& dict)"
89 ) <<
"No fvMesh available, deactivating."
94 addWriter(derivedFieldWriter::read<machWriter>(
dict));
95 addWriter(derivedFieldWriter::read<vorticityWriter>(
dict));
96 addWriter(derivedFieldWriter::read<wallHeatFluxWriter>(
dict));
97 addWriter(derivedFieldWriter::read<wallShearStressWriter>(
dict));
98 addWriter(derivedFieldWriter::read<yPlusWriter>(
dict));
114 (*writers_)[i].write(obr_);
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
Ostream & endl(Ostream &os)
Add newline and flush stream.
PtrList< derivedFieldWriter > *const writers_
Active writers, if any.
derivedFields(const derivedFields &)
Disallow default bitwise copy construct.
Registry of regIOobjects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Basis for writers used in derivedFields e.g., wallShearStressWriter.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base class for graphics format writing. Entry points are.
void addWriter(derivedFieldWriter *writer)
Add writer to active list.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
void read(const dictionary &dict)
Read the derivedFields data.
defineTypeNameAndDebug(combustionModel, 0)
void write()
Calculate the derivedFields and write.
word name(const complex &)
Return a string representation of a complex.