mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: redistributePar: update for distribute mode
- uses read&write handlers - fixes initialisation of partial handlers - 'uniform' copied to wrong place - -overwrite not deleting old processors dirs
This commit is contained in:
@ -162,9 +162,8 @@ Foam::boolList Foam::haveMeshFile
|
||||
handler.filePath(runTime.path()/meshPath/meshFile)
|
||||
);
|
||||
|
||||
bool found = (!fName.empty() && handler.isFile(fName));
|
||||
|
||||
if (found)
|
||||
bool found = handler.isFile(fName);
|
||||
if (returnReduceAnd(found)) // worldComm
|
||||
{
|
||||
autoPtr<ISstream> isPtr(fileHandler().NewIFstream(fName));
|
||||
if (isPtr && isPtr->good())
|
||||
|
||||
Reference in New Issue
Block a user