Go to the documentation of this file.
42 auto* ctorPtr = wordConstructorTable(writeType);
50 *wordConstructorTablePtr_
61 const word& writeType,
65 auto* ctorPtr = dictConstructorTable(writeType);
73 *dictConstructorTablePtr_
94 fName +=
'_' + valueSets[i];
109 if (
points.hasVectorAxis())
142 const List<
const List<Type>*>& valuesPtrList,
154 const List<Type>&
values = *valuesPtrList[i];
188 valueSetPtrs[i] = &valueSets[i];
206 template<
class VSType>
213 for (
direction d=0; d<VSType::nComponents; d++)
220 os << value.component(d);
232 os << token::SPACE << token::TAB;
243 return writeVS(value,
os);
254 return writeVS(value,
os);
265 return writeVS(value,
os);
276 return writeVS(value,
os);
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Ostream & writeVS(const VSType &, Ostream &) const
A class for handling words, derived from Foam::string.
A class for handling file names.
List< T > values(const HashTable< T, Key, Hash > &tbl, const bool doSort=false)
fileName getBaseName(const coordSet &, const wordList &) const
virtual void write(const coordSet &, const wordList &, const List< const Field< Type > * > &, Ostream &) const =0
const dictionary formatOptions
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
OBJstream os(runTime.globalPath()/outputName)
Holds list of sampling positions.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void writeTable(const coordSet &, const List< Type > &, Ostream &) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
void writeCoord(const coordSet &, const label sampleI, Ostream &) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeSeparator(Ostream &os) const
static autoPtr< writer > New(const word &writeFormat)