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" 113 reader.writeMesh(mesh, format);
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
A class for handling file names.
const fileName & rootPath() const
Return root path.
static unsigned int defaultPrecision()
Return the default precision.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool optionFound(const word &opt) const
Return true if the named option is found.
static void noParallel()
Remove the parallel options.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
T optionLookupOrDefault(const word &opt, const T &deflt) const
Read a value from the named option if present.
Read pro-STAR vrt/cel/bnd files. The protected data in meshReader are filled.
Extract command arguments and options from the supplied argc and argv parameters. ...
static void addOption(const word &opt, const string ¶m="", const string &usage="")
Add to an option to validOptions with usage information.
streamFormat
Enumeration for the format of data in the stream.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
fileName lessExt() const
Return file name without extension (part before last .)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static void addBoolOption(const word &opt, const string &usage="")
Add to a bool option to validOptions with usage information.
static void addNote(const string &)
Add extra notes for the usage information.
Foam::argList args(argc, argv)
static bool keepSolids
Keep solids (default false)