67 ensightCaseFile.
width(15);
68 ensightCaseFile.
setf(ios_base::left);
83 postProcPath/ensightFileName,
103 if (
mag(v) < 1.0e-90)
108 for (
direction cmpt=0; cmpt<pTraits<Type>::nComponents; cmpt++)
111 if (++
count % 6 == 0)
Istream and Ostream manipulators taking arguments.
#define forAll(list, i)
Loop across all elements in list.
A primitive field of type <Type> with automated input and output.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const Time & time() const
Return time.
const word & name() const
Return name.
ios_base::fmtflags setf(const ios_base::fmtflags f)
Set flags of stream.
virtual int precision() const
Get precision of output field.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual int width() const =0
Get width of output field.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOstream::versionNumber writeVersion() const
Default write version number.
IOstream::streamFormat writeFormat() const
Default write format.
IOstream::compressionType writeCompression() const
Default write compression.
static bool master(const label communicator=0)
Am I the master process.
Ensight output with specialised write() for strings, integers and floats. Correctly handles binary wr...
A class for handling file names.
Traits class for primitives.
A class for handling words, derived from string.
void ensightCloudField(const IOobject &fieldObject, const fileName &postProcPath, const word &prepend, const label timeIndex, const word &timeFile, const word &cloudName, Ostream &ensightCaseFile, const bool dataExists)
IOobject fieldObject(fieldNames[var2field[nVar]], runTime.name(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE)
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.
Omanip< int > setw(const int i)
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
IOstream & scientific(IOstream &io)
dimensioned< scalar > mag(const dimensioned< Type > &)
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
const word cloudName(propsDict.lookup("cloudName"))