Skip to content
Snippets Groups Projects
Commit d3f3af7b authored by laurence's avatar laurence
Browse files

ENH: polyBoundaryMesh: remove unused function ident()

use ListOps::identity() instead
parent 0a4b72ee
Branches
Tags
No related merge requests found
...@@ -41,19 +41,6 @@ defineTypeNameAndDebug(polyBoundaryMesh, 0); ...@@ -41,19 +41,6 @@ defineTypeNameAndDebug(polyBoundaryMesh, 0);
} }
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
Foam::labelList Foam::polyBoundaryMesh::ident(const label len)
{
labelList elems(len);
forAll(elems, elemI)
{
elems[elemI] = elemI;
}
return elems;
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::polyBoundaryMesh::polyBoundaryMesh Foam::polyBoundaryMesh::polyBoundaryMesh
......
...@@ -78,9 +78,6 @@ class polyBoundaryMesh ...@@ -78,9 +78,6 @@ class polyBoundaryMesh
// Private Member Functions // Private Member Functions
//- Create identity map
static labelList ident(const label len);
//- Calculate the geometry for the patches (transformation tensors etc.) //- Calculate the geometry for the patches (transformation tensors etc.)
void calcGeometry(); void calcGeometry();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment