Skip to content
Snippets Groups Projects
Commit dc0d10e5 authored by Tomislav Maric's avatar Tomislav Maric
Browse files

unallocatedLabelList -> UList<label>

unallocatedLabelList is not available as a typedef in OpenFOAM-dev, and UList<Type> is available everywhere
parent 3432cffb
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ Author ...@@ -36,6 +36,7 @@ Author
#include "triSurf.H" #include "triSurf.H"
#include "triSurfModifier.H" #include "triSurfModifier.H"
#include "xmlTag.H" #include "xmlTag.H"
#include "UList.H"
using namespace Foam; using namespace Foam;
...@@ -78,7 +79,7 @@ void writePointsToVTK ...@@ -78,7 +79,7 @@ void writePointsToVTK
const fileName& fn, const fileName& fn,
const string& title, const string& title,
const UList<point>& points, const UList<point>& points,
unallocLabelList& addr UList<label>& addr
) )
{ {
// Create subaddressed points // Create subaddressed points
...@@ -158,7 +159,7 @@ void writeEdgesToVTK ...@@ -158,7 +159,7 @@ void writeEdgesToVTK
const string& title, const string& title,
const UList<point>& points, const UList<point>& points,
const LongList<edge>& edges, const LongList<edge>& edges,
const unallocLabelList& addr const UList<label>& addr
) )
{ {
// Remove unused points and create subaddressed edges // Remove unused points and create subaddressed edges
...@@ -274,7 +275,7 @@ void writeFacetsToVTK ...@@ -274,7 +275,7 @@ void writeFacetsToVTK
const string& title, const string& title,
const pointField& points, const pointField& points,
const LongList<labelledTri>& facets, const LongList<labelledTri>& facets,
const unallocLabelList& addr const UList<label>& addr
) )
{ {
// Remove unused points and create subaddressed facets // Remove unused points and create subaddressed facets
......
...@@ -209,7 +209,7 @@ autoPtr<triSurf> mergeSurfacePatches ...@@ -209,7 +209,7 @@ autoPtr<triSurf> mergeSurfacePatches
label faceI = 0; label faceI = 0;
forAll(patchAddr, patchI) forAll(patchAddr, patchI)
{ {
const unallocLabelList& addr = patchAddr[patchI]; const UList<label>& addr = patchAddr[patchI];
if(addr.size()) if(addr.size())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment