Go to the documentation of this file.
68 int main(
int argc,
char *argv[])
72 "Convert STARCD/PROSTAR (v4) mesh to OpenFOAM"
80 "Write in ASCII instead of binary format"
86 "Geometry scaling factor - default is 0.001 ([mm] to [m])"
91 "Retain solid cells and treat like fluid cells"
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
T getOrDefault(const word &optName, const T &deflt) const
const fileName & caseName() const noexcept
static void addNote(const string ¬e)
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
T get(const label index) const
static void addArgument(const string &argName, const string &usage="")
word format(conversionProperties.get< word >("format"))
label max(const labelHashSet &set, label maxValue=labelMin)
static void addBoolOption(const word &optName, const string &usage="", bool advanced=false)
static unsigned int defaultPrecision() noexcept
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
@ ASCII
"ascii" (normal default)
static void addOption(const word &optName, const string ¶m="", const string &usage="", bool advanced=false)
Foam::argList args(argc, argv)
const fileName & rootPath() const noexcept
bool found(const word &optName) const