Go to the documentation of this file.
35 #ifndef labelledScalar_H
36 #define labelledScalar_H
89 inline const scalar&
value()
const
155 os.
check(
"operator<<(Ostream&, const labelledScalar&");
172 is.
check(
"operator>>(Istream&, labelledScalar");
labelledScalar()
Null construct.
Istream & readEnd(const char *funcName)
void operator=(const labelledScalar &ls)
bool contiguous< labelledScalar >()
Specify data associated with labelledScalar type is contiguous.
friend Istream & operator>>(Istream &is, labelledScalar &ls)
bool operator<=(const labelledScalar &ls) const
label scalarLabel() const
return scalar label
const scalar & value() const
return the value
bool operator!=(const labelledScalar &ls) const
labelledScalar(const label sl, const scalar s)
Construct from label and value.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool operator<(const labelledScalar &ls) const
bool operator>(const labelledScalar &ls) const
virtual bool check(const char *operation) const
Check IOstream status for given operation.
bool operator>=(const labelledScalar &ls) const
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Template function to specify if the data of a type are contiguous.
bool operator==(const labelledScalar &ls) const
friend Ostream & operator<<(Ostream &os, const labelledScalar &ls)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Istream & readBegin(const char *funcName)