87 return name_ ==
s.name_ && volFrac_ ==
s.volFrac_;
100 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.
A class for handling words, derived from Foam::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...
OBJstream os(runTime.globalPath()/outputName)
bool operator==(const substance &s) const
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;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))