The OpenFOAM repositories are back online - please see how to update to the latest version

Commit dc0d10e5 authored by Tomislav Maric's avatar Tomislav Maric

unallocatedLabelList -> UList<label>

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