58 int main(
int argc,
char *argv[])
62 "Check a finiteArea mesh" 68 "Write mesh as a vtp (vtk) file for display or debugging" 75 "Test different geometry order - experimental!!",
87 Info<<
"Setting faMesh::geometryOrder = " << geometryOrder <<
nl 88 <<
"(experimental)" <<
nl <<
endl;
103 #include "faMeshWriteVTK.H"
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
static void addNote(const string ¬e)
Add extra notes for the usage information.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
static int geometryOrder() noexcept
Return the current geometry treatment.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
static word timeName(const scalar t, const int precision=precision_)
Return a time name for the given scalar time value formatted with the given precision.
messageStream Info
Information stream (stdout output on master, null elsewhere)
bool readIfPresent(const word &optName, T &val) const
Read a value from the named option if present.
Foam::argList args(argc, argv)
bool found(const word &optName) const
Return true if the named option is found.