BUG: multiLevelDecomp : access to lower level dictionary

This commit is contained in:
mattijs
2010-06-10 08:21:14 +01:00
parent a85f1fd9fd
commit 02d5869644

View File

@ -225,7 +225,8 @@ void Foam::multiLevelDecomp::decompose
label nTotal = n*nNext;
// Retrieve original level0 dictionary and modify number of domains
dictionary::const_iterator iter = decompositionDict_.begin();
dictionary::const_iterator iter =
decompositionDict_.subDict(typeName + "Coeffs").begin();
dictionary myDict = iter().dict();
myDict.set("numberOfSubdomains", nTotal);