Go to the documentation of this file.
44 int main(
int argc,
char *argv[])
56 triSurf originalSurface(inFileName);
58 triSurf importedSurface(importFileName);
64 if( inFileName.
ext() ==
"fms" )
71 newName.append(
".fms");
72 Warning <<
"Writting surface as " << newName
73 <<
" to preserve the subset!!" <<
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.
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.
fileName lessExt() const
Return file name without extension (part before last .)
int main(int argc, char *argv[])
void addSurfaceAsSubset(const triSurf &importSurf, const word &subsetName, const scalar angleTol=5.*M_PI/180.)
word ext() const
Return file name extension (part after last .)
void writeSurface(const fileName &) const
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)