85 return name_ == s.name_ && volFrac_ == s.volFrac_;
98 is >> s.name_ >> s.volFrac_;
friend Ostream & operator<<(Ostream &os, const substance &s)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
substance()
Construct null.
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))
A class for handling words, derived from string.
bool operator!=(const substance &s) const
const word & name() const
friend Istream & operator>>(Istream &is, substance &s)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
bool operator==(const substance &s) const