Commit 1fa4221b authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: fix label ambiguity

parent 501cd353
......@@ -657,7 +657,7 @@ Foam::fileOperations::masterUncollatedFileOperation::read
{
// Note: handle compression ourselves since size cannot
// be determined without actually uncompressing
readAndSend(fPath, labelList(1, proci), pBufs);
readAndSend(fPath, labelList(one{}, proci), pBufs);
}
}
}
......@@ -2390,7 +2390,7 @@ Foam::fileOperations::masterUncollatedFileOperation::NewIFstream
readAndSend
(
filePaths[proci],
labelList(1, proci),
labelList(one{}, proci),
pBufs
);
}
......
......@@ -968,21 +968,21 @@ void Foam::addPatchCellLayer::globalEdgeInfo
mesh,
meshEdgeToFace,
maxEqOp<label>(),
-1
label(-1)
);
syncTools::syncEdgeList
(
mesh,
meshEdgeToPatch,
maxEqOp<label>(),
-1
label(-1)
);
syncTools::syncEdgeList
(
mesh,
meshEdgeToZone,
maxEqOp<label>(),
-1
label(-1)
);
// // Note: flipMap not yet done. Needs edge orientation. This is handled
// // later on.
......
......@@ -714,7 +714,7 @@ bool Foam::vtk::internalMeshWriter::writeProcIDs()
// Per-processor ids
for (const int proci : Pstream::allProcs())
{
vtk::write(format(), proci, procMaps.localSize(proci));
vtk::write(format(), label(proci), procMaps.localSize(proci));
}
format().flush();
......
......@@ -689,7 +689,7 @@ bool Foam::vtk::patchMeshWriter::writeProcIDs()
// Per-processor ids
for (const int proci : Pstream::allProcs())
{
vtk::write(format(), proci, procSizes.localSize(proci));
vtk::write(format(), label(proci), procSizes.localSize(proci));
}
good = true;
......
Supports Markdown
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