STYLE: use simpler typedefs for PrimitivePatch instances

This commit is contained in:
Mark Olesen
2020-04-28 16:10:09 +02:00
parent 8cbf55acad
commit 344940829a
10 changed files with 43 additions and 46 deletions

View File

@ -36,6 +36,7 @@ License
#include "triSurface.H"
#include "SortableList.H"
#include "OFstream.H"
#include "primitiveFacePatch.H"
#include "uindirectPrimitivePatch.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
@ -538,11 +539,7 @@ void Foam::boundaryMesh::read(const polyMesh& mesh)
//
// Temporary primitivePatch to calculate compact points & faces.
PrimitivePatch<face, List, const pointField&> globalPatch
(
bFaces,
mesh.points()
);
primitiveFacePatch globalPatch(bFaces, mesh.points());
// Store in local(compact) addressing
clearOut();

View File

@ -50,7 +50,7 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
// Forward Declarations
class Time;
class polyMesh;
class primitiveMesh;
@ -61,7 +61,7 @@ class primitiveMesh;
class boundaryMesh
{
// Static data
// Static Data
//- Normal along which to divide faces into categories
// (used in getNearest)
@ -73,7 +73,7 @@ class boundaryMesh
static const scalar distanceTol_;
// Private data
// Private Data
//- All boundary mesh data. Reconstructed every time faces are repatched
bMesh* meshPtr_;