76 string::stripInvalid<VarName>(*this);
81 <<
"ensight::VarName empty after stripping" <<
nl 86 std::string::iterator iter =
begin();
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
srcOptions insert("case", fileName(rootDirSource/caseDirSource))
constexpr char nl
The newline '\n' character (0x0a)
VarName(const VarName &)=default
Copy construct.
A class for handling words, derived from Foam::string.
static bool valid(char c)
Is this character valid for a word?
void stripInvalid()
Strip invalid characters.
const dimensionedScalar c
Speed of light in a vacuum.
static bool valid(char c)
Is this character valid for an ensight var-name.
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))
constexpr auto begin(C &c) -> decltype(c.begin())
Return iterator to the beginning of the container c.