Go to the documentation of this file.
42 int main(
int argc,
char *argv[])
46 "Convert between edgeMesh formats"
55 "geometry scaling factor - default is 1"
65 if (importName == exportName)
68 <<
"Output file " << exportName <<
" would overwrite input file."
84 Info<<
"\nRead edgeMesh " << importName <<
nl;
87 <<
"\nwriting " << exportName;
89 scalar scaleFactor = 0;
92 Info<<
" with scaling " << scaleFactor <<
endl;
93 mesh.scalePoints(scaleFactor);
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling file names.
static bool canWriteType(const word &ext, const bool verbose=false)
Can we write this file format type?
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 bool canReadType(const word &ext, const bool verbose=false)
Can we read this file format?
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const fileName & rootPath() const
Return root path.
virtual bool write() const
Write mesh using IO settings from time.
int main(int argc, char *argv[])
word ext() const
Return file name extension (part after last .)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const fileName & caseName() const
Return case name (parallel run) or global case (serial run)
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)
Points connected by edges.
bool optionReadIfPresent(const word &opt, T &) const
Read a value from the named option if present.