MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / printTriangle

Function printTriangle

src/triSurface/triSurface/triSurface.C:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
152
153void Foam::triSurface::printTriangle
154(
155 Ostream& os,
156 const string& pre,
157 const labelledTri& f,
158 const pointField& points
159)
160{
161 os
162 << pre.c_str() << "vertex numbers:"
163 << f[0] << ' ' << f[1] << ' ' << f[2] << endl
164 << pre.c_str() << "vertex coords :"
165 << points[f[0]] << ' ' << points[f[1]] << ' ' << points[f[2]]
166 << pre.c_str() << "region :" << f.region() << endl
167 << endl;
168}
169
170
171Foam::string Foam::triSurface::getLineNoComment(IFstream& is)

Callers 1

checkTrianglesFunction · 0.85

Calls 1

regionMethod · 0.45

Tested by

no test coverage detected