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

Function cleanup

src/triSurface/triSurface/triSurface.C:820–831  ·  view source on GitHub ↗

Remove non-triangles, double triangles.

Source from the content-addressed store, hash-verified

818
819// Remove non-triangles, double triangles.
820void Foam::triSurface::cleanup(const bool verbose)
821{
822 // Merge points (already done for STL, TRI)
823 stitchTriangles(SMALL, verbose);
824
825 // Merging points might have changed geometric factors
826 clearOut();
827
828 checkTriangles(verbose);
829
830 checkEdges(verbose);
831}
832
833
834// Finds area, starting at facei, delimited by borderEdge. Marks all visited

Callers 1

MeshedSurface.CFile · 0.85

Calls 4

stitchTrianglesFunction · 0.85
checkTrianglesFunction · 0.85
clearOutFunction · 0.70
checkEdgesFunction · 0.70

Tested by

no test coverage detected