Go to the documentation of this file.
48 out.resize(
s.size() + (prefix ? 1 : 0));
55 for (
auto iter =
s.cbegin(); iter !=
s.cend(); ++iter)
61 if (!len && prefix && isdigit(
c))
89 for (len=0; first != last; ++first)
91 const char c = *first;
95 if (!len && prefix && isdigit(
c))
115 const auto i = find_ext();
148 word camelCase(a +
b);
149 camelCase[a.size()] = char(toupper(
b[0]));
167 std::ostringstream buf;
168 buf <<
"0x" <<
std::hex << uintptr_t(ptr);
170 return word(buf.str(),
false);
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))
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
int debugSwitch(const char *name, const int deflt=0)
static word validate(const std::string &s, const bool prefix=false)
const dimensionedScalar b
graph_traits< Graph >::vertices_size_type size_type
static bool valid(char c)
static const char *const typeName
const dimensionedScalar c
word name(const expressions::valueTypeCode typeCode)