mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: multiLevelDecomp : access to lower level dictionary
This commit is contained in:
@ -225,7 +225,8 @@ void Foam::multiLevelDecomp::decompose
|
|||||||
label nTotal = n*nNext;
|
label nTotal = n*nNext;
|
||||||
|
|
||||||
// Retrieve original level0 dictionary and modify number of domains
|
// 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();
|
dictionary myDict = iter().dict();
|
||||||
myDict.set("numberOfSubdomains", nTotal);
|
myDict.set("numberOfSubdomains", nTotal);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user