STYLE: redistributeMeshPar : use construct-from-dictionary for fields

This commit is contained in:
mattijs
2011-02-15 12:26:09 +00:00
parent 7e694ff531
commit 0f5ec6b9bc

View File

@ -525,6 +525,7 @@ void readFields
// Receive field
IPstream fromMaster(Pstream::blocking, Pstream::masterNo());
dictionary fieldDict(fromMaster);
fields.set
(
@ -540,7 +541,7 @@ void readFields
IOobject::AUTO_WRITE
),
mesh,
fromMaster
fieldDict
)
);