mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
don't need shrink before List::transfer(DynamicList&) anymore
This commit is contained in:
@ -289,9 +289,7 @@ int main(int argc, char *argv[])
|
||||
<< patchNames[patchI] << "\t\t"
|
||||
<< allPatchFaces[patchI].size() << endl;
|
||||
|
||||
allPatchFaces[patchI].shrink();
|
||||
patchFaces[patchI].transfer(allPatchFaces[patchI]);
|
||||
allPatchFaces[patchI].clear();
|
||||
}
|
||||
|
||||
Info<< endl;
|
||||
|
||||
@ -461,7 +461,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Trim
|
||||
boundaryFaces.setSize(faceI);
|
||||
boundaryPatch.setSize(faceI);
|
||||
@ -515,7 +515,7 @@ int main(int argc, char *argv[])
|
||||
Info<< " " << patchNames[patchI] << " : "
|
||||
<< allPatchFaces[patchI].size() << endl;
|
||||
|
||||
patchFaces[patchI].transfer(allPatchFaces[patchI].shrink());
|
||||
patchFaces[patchI].transfer(allPatchFaces[patchI]);
|
||||
}
|
||||
|
||||
Info<< endl;
|
||||
@ -548,7 +548,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
meshPtr().write();
|
||||
|
||||
|
||||
Info<< "End\n" << endl;
|
||||
|
||||
return 0;
|
||||
|
||||
@ -74,10 +74,7 @@ void Foam::readerDatabase::getPolyHedra()
|
||||
}
|
||||
}
|
||||
|
||||
polys.shrink();
|
||||
|
||||
Info<< "Found " << polys.size() << " polyhedral cells " << endl;
|
||||
|
||||
polys_.transfer(polys);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user