62int main(
int argc,
char *argv[])
66 "Convert Ensight mesh to OpenFOAM"
75 "Merge tolerance as a fraction of bounding box - 0 to disable merging"
81 "Geometry scaling factor - default is 1"
86 "Do not automatically flip inverted cells"
87 " (default is to do a geometric test)"
103 args.getOrDefault<scalar>(
"mergeTol", 1
e-10),
104 args.getOrDefault<scalar>(
"scale", 1.0),
105 args.found(
"keepHandedness")
static unsigned int minPrecision(unsigned int prec) noexcept
Set the minimum default precision.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Extract command arguments and options from the supplied argc and argv parameters.
static void addArgument(const string &argName, const string &usage="")
Append a (mandatory) argument to validArgs.
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
Add a bool option to validOptions with usage information.
static void noParallel()
Remove the parallel options.
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
static void addNote(const string ¬e)
Add extra notes for the usage information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A class for handling file names.
messageStream Info
Information stream (stdout output on master, null elsewhere).
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)