ENH: cellShape::reset() - simplifies modification of existing shapes

This commit is contained in:
Mark Olesen
2021-05-28 20:18:04 +02:00
parent 5ec49a3898
commit f2d634c49f
23 changed files with 85 additions and 71 deletions

View File

@ -273,7 +273,7 @@ autoPtr<polyMesh> generateHexMesh
hexPoints[5] = vtxLabel(nCells, i+1, j, k+1);
hexPoints[6] = vtxLabel(nCells, i+1, j+1, k+1);
hexPoints[7] = vtxLabel(nCells, i, j+1, k+1);
cellShapes[celli++] = cellShape(hex, hexPoints);
cellShapes[celli++].reset(hex, hexPoints);
}
}
}