mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: fix label ambiguity
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user