Go to the documentation of this file.
40 int main(
int argc,
char *argv[])
52 if( inFileName.
ext() !=
"flma" )
54 Info <<
"Cannot convert this mesh" <<
endl;
92 Info <<
"Facet " << triI <<
" is not a triangle!!" <<
endl;
97 for(
label j=0;j<3;++j)
98 inFile >> triangles[triI][2-j];
100 triangles[triI].region() = 0;
110 for(
label selI=0;selI<counter;++selI)
124 for(
label i=0;i<size;++i)
125 inFile >> entries[i];
130 Info <<
"Adding subset " << selName <<
endl;
static SLList< string > validArgs
A list of valid (mandatory) arguments.
A class for handling words, derived from string.
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 setSize(const label)
Reset size of List.
void addFacetToSubset(const label, const label)
int main(int argc, char *argv[])
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
pointField & pointsAccess()
non-const access to points
LongList< labelledTri > & facetsAccess()
access to facets
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
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)