32 template<
class FieldType>
42 Info<<
"Cache: " << message <<
' ' <<
name 43 <<
", originating from " <<
fld.name()
44 <<
" event:" <<
fld.eventNo() <<
endl;
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void cachePrintMessage(const char *message, const word &name, const FieldType &fld)
Helper for printing cache message.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
const word & name() const
Name function is needed to disambiguate those inherited from regIOobject and dictionary.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
messageStream Info
Information stream (stdout output on master, null elsewhere)
static int debug
Debug switch (registered name: "solution")