35 const std::string& str,
45 for (
const auto& item : items)
47 const std::string
s(item.str());
messageStream InfoErr
Information stream (stderr output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::SubStrings< StringType > splitAny(const StringType &str, const std::string &delim, std::string::size_type pos=0)
Split string into sub-strings using any characters in delimiter.
static bool parse(const std::string &str, scalarRange &range)
Construct by parsing string content.
static scalarRanges parse(const std::string &str, bool report=true)
Construct by parsing string for scalar ranges with optional reporting if any range fails to parse...
A collection of scalar bounds to be used as a unary predicate.
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))
Scalar bounds to be used as a unary predicate.