openfoam/applications/utilities/preProcessing
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
..
applyBoundaryLayer ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
boxTurb Merge remote-tracking branch 'origin/master' into develop 2018-08-29 13:51:40 +01:00
changeDictionary ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
createExternalCoupledPatchGeometry ENH: change argList get<> and getList<> from read<>, readList<> 2018-08-09 11:27:36 +02:00
createZeroDirectory ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
dsmcInitialise ENH: Utilities - add -region option when creating meshes 2018-01-16 12:10:20 +00:00
engineSwirl ENH: use vector::normalise and VectorSpace::normalised for clarity 2018-08-10 15:18:29 +02:00
faceAgglomerate STYLE: add nBoundaryFaces() method to primitiveMesh 2018-09-27 10:17:30 +02:00
foamUpgradeCyclics ENH: tag some options as 'advanced' (only shown with -help-full) 2018-07-31 11:54:15 +02:00
mapFields STYLE: consistency update 2018-09-19 23:11:31 +02:00
mapFieldsPar STYLE: consistency update 2018-09-19 23:11:31 +02:00
mdInitialise ENH: Utilities - add -region option when creating meshes 2018-01-16 12:10:20 +00:00
setAlphaField ENH: use restricted dictionary lookup for utilities (issue #762) 2018-07-24 08:08:30 +02:00
setFields STYLE: add nBoundaryFaces() method to primitiveMesh 2018-09-27 10:17:30 +02:00
viewFactorsGen STYLE: add nBoundaryFaces() method to primitiveMesh 2018-09-27 10:17:30 +02:00
wallFunctionTable ENH: use restricted dictionary lookup for utilities (issue #762) 2018-07-24 08:08:30 +02:00