Go to the documentation of this file.
59 int main(
int argc,
char *argv[])
63 "convert pro-STAR (v4) mesh to OpenFOAM"
71 "write in ASCII instead of binary format"
77 "geometry scaling factor - default is 0.001 ([mm] to [m])"
82 "retain solid cells and treat them like fluid cells"
static SLList< string > validArgs
A list of valid (mandatory) arguments.
word format(conversionProperties.lookup("format"))
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
static void addNote(const string &)
Add extra notes for the usage information.
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileName lessExt() const
Return file name without extension (part before last .)
const fileName & rootPath() const
Return root path.
int main(int argc, char *argv[])
T optionLookupOrDefault(const word &opt, const T &deflt) const
Read a value from the named option if present.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static unsigned int defaultPrecision()
Return the default precision.
static bool keepSolids
Keep solids (default false)
bool optionFound(const word &opt) const
Return true if the named option is found.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
static void noParallel()
Remove the parallel options.
Read pro-STAR vrt/cel/bnd files. The protected data in meshReader are filled.
Foam::argList args(argc, argv)
streamFormat
Enumeration for the format of data in the stream.