Go to the documentation of this file.
57 int main(
int argc,
char *argv[])
61 "Refine by splitting all three edges of triangle"
71 Info<<
"Reading surface from " << surfFileName <<
" ..." <<
endl;
83 <<
" triangles :" << surf1.size() <<
endl
84 <<
" vertices(used):" << surf1.nPoints() <<
endl
85 <<
"Refined surface:" <<
endl
86 <<
" triangles :" << surf2.size() <<
endl
90 Info<<
"Writing refined surface to " << outFileName <<
" ..." <<
endl;
92 surf2.
write(outFileName);
A class for handling file names.
static void addNote(const string ¬e)
Add extra notes for the usage information.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void addArgument(const string &argName, const string &usage="")
Append a (mandatory) argument to validArgs.
void write(Ostream &os) const
Write to Ostream in simple OpenFOAM format.
Triangulated surface description with patch information.
messageStream Info
Information stream (uses stdout - output is on the master only)
label nPoints() const
Return number of points supporting patch faces.
labelList identity(const label len, label start=0)
Create identity map of the given length with (map[i] == i)
static void noParallel()
Remove the parallel options.
Foam::argList args(argc, argv)