61 int main(
int argc,
char *argv[])
65 "Convert AVL/FIRE polyhedral mesh to OpenFOAM format" 73 "Write in ASCII format instead of binary" 78 "Perform edge checking as well" 84 "Geometry scaling factor - default is 1 (no scaling)" static void addNote(const string ¬e)
Add extra notes for the usage information.
A class for handling file names.
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 void noParallel()
Remove the parallel options.
T getOrDefault(const word &optName, const T &deflt) const
Get a value from the named option if present, or return default.
label checkFireEdges(const faceList &faces, const labelListList &pointFaces, const UList< point > &points=UList< point >::null())
check edge connectivity
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 addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Add an option to validOptions with usage information.
static unsigned int minPrecision(unsigned int prec) noexcept
Set the minimum default precision.
const fileName & caseName() const noexcept
Return case name (parallel run) or global case (serial run)
Checks the mesh for edge connectivity as expected by the AVL/FIRE on-the-fly calculations. Errors flagged here are not necessarily topological errors at all.
const fileName & rootPath() const noexcept
Return root path.
word format(conversionProperties.get< word >("format"))
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.
streamFormat
Data format (ascii | binary)
messageStream Info
Information stream (stdout output on master, null elsewhere)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Foam::argList args(argc, argv)
bool found(const word &optName) const
Return true if the named option is found.