44#ifndef ensightVarName_H
45#define ensightVarName_H
78 inline explicit VarName(
const char*
s);
81 inline explicit VarName(
const std::string&
s);
87 inline static bool valid(
char c);
Specification of a valid Ensight variable-name.
void operator=(const word &)=delete
VarName(const VarName &)=default
Copy construct.
void operator=(const string &)=delete
void operator=(const char *)=delete
VarName(VarName &&)=default
Move construct.
static bool valid(char c)
Is this character valid for an ensight var-name.
void stripInvalid()
Strip invalid characters.
void operator=(const std::string &)=delete
A class for handling words, derived from Foam::string.
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))
Hash function class. The default definition is for primitives. Non-primitives used to hash entries on...
Hashing functor for string and derived string classes.