openfoam/applications/utilities/mesh/advanced/modifyMesh
Mark Olesen 64c3e484bb STYLE: add nBoundaryFaces() method to primitiveMesh
- nBoundaryFaces() is often used and is identical to
  (nFaces() - nInternalFaces()).

- forward the mesh nInternalFaces() and nBoundaryFaces() to
  polyBoundaryMesh as nFaces() and start() respectively,
  for use when operating on a polyBoundaryMesh.

STYLE:

- use identity() function with starting offset when creating boundary maps.

     labelList map
     (
         identity(mesh.nBoundaryFaces(), mesh.nInternalFaces())
     );

  vs.

     labelList map(mesh.nBoundaryFaces());
     forAll(map, i)
     {
         map[i] = mesh.nInternalFaces() + i;
     }
2018-09-27 10:17:30 +02:00
..
Make ENH: topoSet: clear sets upon writing modified mesh. Fixes #129. 2016-11-16 14:58:46 +00:00
cellSplitter.C STYLE: revert bitSet/HashSet setMany() to set() method (issue #837) 2018-05-29 17:38:02 +02:00
cellSplitter.H STYLE: consistent use of '= delete' for removed constructors/assignments 2018-05-30 12:03:17 +02:00
modifyMesh.C STYLE: add nBoundaryFaces() method to primitiveMesh 2018-09-27 10:17:30 +02:00
modifyMeshDict ENH: Updated config for release v1806 2018-06-28 12:56:00 +01:00