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

@ -34,8 +34,7 @@ pointField points;
cellShapes.setSize(bCells.size());
forAll(cellShapes, celli)
{
cellShapes[celli] =
cellShape(hex, labelList(bCells[celli]), false);
cellShapes[celli].reset(hex, labelList(bCells[celli]), false);
}
Info<< "Creating boundary faces" << endl;