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