Go to the documentation of this file.
76 string::stripInvalid<VarName>(*
this);
81 <<
"ensight::VarName empty after stripping" <<
nl
86 std::string::iterator iter =
begin();
srcOptions insert("case", fileName(rootDirSource/caseDirSource))
static bool valid(char c)
Is this character valid for an ensight var-name.
A class for handling words, derived from Foam::string.
constexpr auto begin(C &c) -> decltype(c.begin())
Return iterator to the beginning of the container c.
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))
VarName(const VarName &)=default
Copy construct.
static bool valid(char c)
Is this character valid for a word?
errorManipArg< error, int > exit(error &err, const int errNo=1)
void stripInvalid()
Strip invalid characters.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionedScalar c
Speed of light in a vacuum.