viewFactorsGen,faceAgglomerate: Moved viewFactorsDict to system
This commit is contained in:
@ -58,10 +58,7 @@ int main(int argc, char *argv[])
|
|||||||
const word dictName("viewFactorsDict");
|
const word dictName("viewFactorsDict");
|
||||||
|
|
||||||
// Read control dictionary
|
// Read control dictionary
|
||||||
const IOdictionary agglomDict
|
const IOdictionary agglomDict(systemDict(dictName, args, runTime));
|
||||||
(
|
|
||||||
systemDict(dictName, args, runTime, word::null, runTime.constant())
|
|
||||||
);
|
|
||||||
|
|
||||||
bool writeAgglom = readBool(agglomDict.lookup("writeFacesAgglomeration"));
|
bool writeAgglom = readBool(agglomDict.lookup("writeFacesAgglomeration"));
|
||||||
|
|
||||||
|
|||||||
@ -284,7 +284,7 @@ int main(int argc, char *argv[])
|
|||||||
IOobject
|
IOobject
|
||||||
(
|
(
|
||||||
"viewFactorsDict",
|
"viewFactorsDict",
|
||||||
runTime.constant(),
|
runTime.system(),
|
||||||
mesh,
|
mesh,
|
||||||
IOobject::MUST_READ_IF_MODIFIED,
|
IOobject::MUST_READ_IF_MODIFIED,
|
||||||
IOobject::NO_WRITE
|
IOobject::NO_WRITE
|
||||||
|
|||||||
Reference in New Issue
Block a user