36 namespace functionObjects
93 Info<<
"applying to clouds:" <<
nl;
96 Info<<
" " << names()[i] <<
nl;
102 Info<<
"no clouds to be processed" <<
nl <<
endl;
105 resetNames(
dict.lookup(
"clouds"));
128 scalar massInSystem =
137 << massInSystem <<
endl;
Inter-processor communication reduction functions.
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static bool master(const label communicator=0)
Am I the master process.
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base-class for Time/database functionObjects.
Outputs Lagrangian cloud information to a file.
virtual ~cloudInfo()
Destructor.
virtual void writeFileHeader(const label i)
File header information.
cloudInfo(const word &name, const Time &runTime, const dictionary &)
Construct from Time and dictionary.
virtual bool execute()
Execute, currently does nothing.
virtual bool write()
Write.
virtual bool read(const dictionary &)
Read the controls.
functionObject base class for creating, maintaining and writing log files e.g. integrated of averaged...
OFstream & file()
Return access to the file (if only 1)
virtual bool write()
Write function.
Specialisation of Foam::functionObject for a region and providing a reference to the region Foam::obj...
virtual bool read(const dictionary &)
Read optional controls.
void writeTabbed(Ostream &os, const string &str) const
Write a tabbed string to stream.
void writeHeader(Ostream &os, const string &str) const
Write a commented header to stream.
void writeCommented(Ostream &os, const string &str) const
Write a commented string to stream.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation ...
A class for handling words, derived from string.
defineTypeNameAndDebug(adjustTimeStepToCombustion, 0)
addToRunTimeSelectionTable(functionObject, adjustTimeStepToCombustion, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const word cloudName(propsDict.lookup("cloudName"))