55 int main(
int argc,
char *argv[])
59 "Convert legacy VTK file (ascii) containing an unstructured grid" 60 " to an OpenFOAM mesh without boundary information" 81 std::move(reader.points()),
List< faceList > faceListList
List of faceList.
static void addNote(const string ¬e)
Add extra notes for the usage information.
A class for handling file names.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static unsigned int defaultPrecision() noexcept
Return the default precision.
static void noParallel()
Remove the parallel options.
Reader for vtk UNSTRUCTURED_GRID legacy files. Supports single CELLS, POINTS etc. entry only...
void removeFiles(const fileName &instanceDir) const
Remove all files from mesh instance.
static word defaultRegion
Return the default region name.
virtual bool write(const bool writeOnProc=true) const
Write mesh using IO settings from time.
const word & constant() const noexcept
Return constant name.
Input from file stream, using an ISstream.
List< word > wordList
List of word.
T get(const label index) const
Get a value from the argument at index.
static void addArgument(const string &argName, const string &usage="")
Append a (mandatory) argument to validArgs.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Mesh consisting of general polyhedral cells.
Foam::argList args(argc, argv)
Defines the attributes of an object for which implicit objectRegistry management is supported...