Go to the documentation of this file.
35 #ifndef labelledPointScalar_H
36 #define labelledPointScalar_H
151 os.
check(
"operator<<(Ostream&, const labelledPointScalarS&");
166 is.
readEnd(
"labelledPointScalar");
169 is.
check(
"operator>>(Istream&, labelledPointScalar");
Istream & readEnd(const char *funcName)
const scalar & scalarValue() const
return scalar value
labelledPointScalar()
Null construct.
scalar weight_
scalar data
const point & coordinates() const
return point coordinates
bool operator==(const labelledPointScalar &lps) const
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)....
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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))
friend Ostream & operator<<(Ostream &os, const labelledPointScalar &lps)
labelledPointScalar(const label pl, const point &p, const scalar s)
Construct from point and label.
bool operator!=(const labelledPointScalar &lps) const
Template function to specify if the data of a type are contiguous.
label pointLabel() const
return point label
friend Istream & operator>>(Istream &is, labelledPointScalar &lps)
point coords_
point coordinates
void operator=(const labelledPointScalar &lps)
bool contiguous< labelledPointScalar >()
Specify data associated with labelledPointScalar type is contiguous.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Istream & readBegin(const char *funcName)
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...