Go to the documentation of this file.
40 int main(
int argc,
char *argv[])
52 if( outFileName.
ext() !=
"fms" )
53 Warning <<
"The subsets cann only be saved in the .fms format" <<
endl;
66 if( origSurf[triI].region() == patchI )
67 subsetFacets.append(triI);
static SLList< string > validArgs
A list of valid (mandatory) arguments.
const stringList & args() const
Return arguments.
A class for handling file names.
#define forAll(list, i)
Loop across all elements in list.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
This is a typedef for LongList<label>
void addFacetToSubset(const label, const label)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
int main(int argc, char *argv[])
const geometricSurfacePatchList & patches() const
access to patches
wordList patchNames(nPatches)
label addFacetSubset(const word &)
point subsets
word ext() const
Return file name extension (part after last .)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void writeSurface(const fileName &) const
void size(const label)
Override size to be inconsistent with allocated storage.
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)