45 int main(
int argc,
char *argv[])
56 Info<<
"Reading surface from " << surfFileName <<
" ..." <<
endl;
68 <<
" triangles :" << surf1.size() <<
endl
69 <<
" vertices(used):" << surf1.nPoints() <<
endl
70 <<
"Refined surface:" <<
endl
71 <<
" triangles :" << surf2.
size() <<
endl
75 Info<<
"Writing refined surface to " << outFileName <<
" ..." <<
endl;
77 surf2.write(outFileName);
void size(const label)
Override size to be inconsistent with allocated storage.
label nPoints() const
Return number of points supporting patch faces.
Extract command arguments and options from the supplied argc and argv parameters.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
A class for handling file names.
Triangulated surface description with patch information.
int main(int argc, char *argv[])
Ostream & endl(Ostream &os)
Add newline and flush stream.
labelList identityMap(const label len)
Create identity map (map[i] == i) of given length.
Foam::argList args(argc, argv)