Go to the documentation of this file.
46 int main(
int argc,
char *argv[])
58 if (outFileName == inFileName)
61 <<
"Output file " << outFileName
62 <<
" would overwrite the input file."
74 Info <<
"Using 45 deg as default angle!" <<
endl;
77 triSurf originalSurface(inFileName);
82 if( outFileName.
ext() ==
"fms" || outFileName.
ext() ==
"FMS" )
84 Info <<
"Writing : " << outFileName <<
endl;
92 Info <<
"Writing : " << outFileName <<
endl;
static SLList< string > validArgs
A list of valid (mandatory) arguments.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
const stringList & args() const
Return arguments.
A class for handling file names.
void detectFeatureEdges()
store regions in a graph
Template functions to aid in the implementation of demand driven data.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
void deleteDemandDrivenData(DataPtr &dataPtr)
const Foam::HashTable< string > & options() const
Return options.
const word & executable() const
Name of executable without the path.
const triSurf * surfaceWithPatches(IOdictionary *meshDictPtr=NULL, const word prefix="patch_", const bool forceOverwrite=false) const
store regions into subsets with a given prefix
static HashTable< string > validOptions
A list of valid options.
word ext() const
Return file name extension (part after last .)
Input from memory buffer stream.
errorManipArg< error, int > exit(error &err, const int errNo=1)
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
int main(int argc, char *argv[])
void writeSurface(const fileName &) const
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)