Go to the documentation of this file.
64 unsigned char group_[3];
67 unsigned char groupLen_;
75 inline unsigned char encode0()
const;
76 inline unsigned char encode1()
const;
77 inline unsigned char encode2()
const;
78 inline unsigned char encode3()
const;
114 void write(
const char*
s, std::streamsize
n);
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))
~base64Layer()
Destructor. Performs close()
bool close()
End the encoding sequence, padding the final characters with '='.
void write(const char *s, std::streamsize n)
Encode the character sequence, writing when possible.
void reset()
Restart a new encoding sequence.
OBJstream os(runTime.globalPath()/outputName)
void add(char c)
Add a character to the group, outputting when the group is full.
const dimensionedScalar c
Speed of light in a vacuum.
An output filter layer to write base-64 encoded content.
static std::size_t encodedLength(std::size_t n)
The encoded length has 4 bytes out for every 3 bytes in.