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