Porting Fixed string + int error. Mac OSX

This commit is contained in:
Hrvoje Jasak 2019-09-26 10:01:37 +01:00
parent f1bda93c20
commit e405fe0eb2
2 changed files with 10 additions and 7 deletions

View file

@ -1138,13 +1138,13 @@ const Foam::labelList& Foam::adaptiveOverlapFringe::fringeHoles() const
// Debug, write fringe holes as a cell set // Debug, write fringe holes as a cell set
if (oversetMesh::debug()) if (oversetMesh::debug())
{ {
Pout<< "Writing processor fringe holes into a cell set." << endl; Pout<< "Writing processor fringe holes into a cell set for region"
Info<< "REGION: " << region().name() << endl; << region().name() << endl;
cellSet holesSet cellSet holesSet
( (
mesh(), mesh(),
"fringeHolesProc" + Pstream::myProcNo() + region().name(), "fringeHolesProc" + name(Pstream::myProcNo()) + region().name(),
labelHashSet(*fringeHolesPtr_) labelHashSet(*fringeHolesPtr_)
); );
@ -1165,12 +1165,14 @@ const Foam::labelList& Foam::adaptiveOverlapFringe::candidateAcceptors() const
// Debug, write candidate acceptors as a cell set // Debug, write candidate acceptors as a cell set
if (oversetMesh::debug()) if (oversetMesh::debug())
{ {
Pout<< "Writing processor candidate acceptors into a cell set." << endl; Pout<< "Writing processor candidate acceptors into a cell set "
<< "for region" << region().name() << endl;
cellSet candidateAcceptorsSet cellSet candidateAcceptorsSet
( (
mesh(), mesh(),
"candidateAcceptorsProc" + Pstream::myProcNo() + region().name(), "candidateAcceptorsProc" + name(Pstream::myProcNo())
+ region().name(),
labelHashSet(*acceptorsPtr_) labelHashSet(*acceptorsPtr_)
); );

View file

@ -906,7 +906,7 @@ const Foam::labelList& Foam::overlapFringe::fringeHoles() const
cellSet holesSet cellSet holesSet
( (
mesh(), mesh(),
"fringeHolesProc" + Pstream::myProcNo() + region().name(), "fringeHolesProc" + name(Pstream::myProcNo()) + region().name(),
labelHashSet(*fringeHolesPtr_) labelHashSet(*fringeHolesPtr_)
); );
@ -932,7 +932,8 @@ const Foam::labelList& Foam::overlapFringe::candidateAcceptors() const
cellSet candidateAcceptorsSet cellSet candidateAcceptorsSet
( (
mesh(), mesh(),
"candidateAcceptorsProc" + Pstream::myProcNo() + region().name(), "candidateAcceptorsProc" + name(Pstream::myProcNo())
+ region().name(),
labelHashSet(*acceptorsPtr_) labelHashSet(*acceptorsPtr_)
); );