openfoam/applications/utilities/mesh/manipulation/checkMesh
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: checkMesh: output vol fields of mesh quality. Fixes #466. 2017-05-08 10:50:59 +01:00
checkGeometry.C STYLE: use edgeHashes include 2018-08-08 23:54:27 +02:00
checkGeometry.H checkMesh: Added option to write sets 2016-07-22 16:53:49 +01:00
checkMesh.C ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
checkMeshQuality.C checkMesh: Added writing of faceSets and cellSets containing errors 2016-06-12 20:51:07 +01:00
checkMeshQuality.H checkMesh: Added writing of faceSets and cellSets containing errors 2016-06-12 20:51:07 +01:00
checkTools.C STYLE: add nBoundaryFaces() method to primitiveMesh 2018-09-27 10:17:30 +02:00
checkTools.H checkMesh: Added option to write sets 2016-07-22 16:53:49 +01:00
checkTopology.C ENH: checkMesh: output volume of cellZone. Fixes #727. 2018-07-04 12:08:24 +01:00
checkTopology.H COMP: checkMesh: missing header 2017-09-07 09:42:03 +01:00
writeFields.C STYLE: more consistent use of dimensioned Zero, scalar decimal points 2018-07-13 10:28:48 +02:00
writeFields.H STYLE: consistent use of wordHashSet instead of HashSet<word> 2018-02-22 11:19:47 +01:00