Go to the documentation of this file.
32 #include "primitivePatch.H"
43 const word& fieldName,
45 const bool isNodeValues,
84 Info<<
"Writing points to " << baseDir/
"points" <<
endl;
92 Info<<
"Writing face centres to " << baseDir/
"points" <<
endl;
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
A class for handling file names.
fileName writeTemplate(const fileName &outputDir, const fileName &surfaceName, const pointField &points, const faceList &faces, const word &fieldName, const Field< Type > &values, const bool isNodeValues, const bool verbose) const
Templated write operation.
A List obtained as a section of another List.
static Stream & writeEndDivider(Stream &os)
Write the standard end file divider.
fileName path() const
Return directory path name (part before last /)
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool writeData(Ostream &os) const
Pure virtual writaData function.
word name() const
Return file name (part beyond last /)
fileName objectPath() const
Return complete path + object name.
bool writeHeader(Ostream &) const
Write header.
string getEnv(const word &)
Return environment variable of given name.
Pre-declare SubField and related Field type.
Istream and Ostream manipulators taking arguments.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
A primitive field + average with IO.
const Field< PointType > & faceCentres() const
Return face centres for patch.
void size(const label)
Override size to be inconsistent with allocated storage.
bool mkDir(const fileName &, mode_t=0777)
Make a directory and return an error if it could not be created.
fileName path() const
Return complete path.
bool writeData(Ostream &) const
Pure virtual writaData function.
A list of faces which address into the list of points.