55int main(
int argc,
char *argv[])
59 "Convert legacy VTK file (ascii) containing an unstructured grid"
60 " to an OpenFOAM mesh without boundary information"
63 argList::noParallel();
64 argList::addArgument(
"vtk-file",
"The input legacy ascii vtk file");
77 polyMesh::defaultRegion,
81 std::move(reader.points()),
92 IOstream::defaultPrecision(
max(10u, IOstream::defaultPrecision()));
Input from file stream, using an ISstream.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
T get(const label index) const
Get a value from the argument at index.
A class for handling file names.
Mesh consisting of general polyhedral cells.
Reader for vtk UNSTRUCTURED_GRID legacy files. Supports single CELLS, POINTS etc. entry only.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)