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

Function writePointsFaces

src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C:122–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121
122void Foam::faceCoupleInfo::writePointsFaces() const
123{
124 const indirectPrimitivePatch& m = masterPatch();
125 const indirectPrimitivePatch& s = slavePatch();
126 const primitiveFacePatch& c = cutFaces();
127
128 // Patches
129 {
130 OFstream str("masterPatch.obj");
131 Pout<< "Writing masterPatch to " << str.name() << endl;
132 meshTools::writeOBJ(str, m.localFaces(), m.localPoints());
133 }
134 {
135 OFstream str("slavePatch.obj");
136 Pout<< "Writing slavePatch to " << str.name() << endl;

Callers 2

subDivisionMatchFunction · 0.85
faceCoupleInfo.CFile · 0.85

Calls 3

localPointsMethod · 0.80
writeOBJFunction · 0.70
nameMethod · 0.45

Tested by

no test coverage detected