mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
COMP: refactoring to resolve compiler warnings - see #886
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
IOdictionary additionalControlsDict
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"additionalControls",
|
||||
runTime.constant(),
|
||||
mesh,
|
||||
IOobject::MUST_READ_IF_MODIFIED,
|
||||
IOobject::NO_WRITE
|
||||
)
|
||||
);
|
||||
|
||||
bool solvePrimaryRegion
|
||||
(
|
||||
additionalControlsDict.lookupOrDefault("solvePrimaryRegion", true)
|
||||
);
|
||||
|
||||
bool solvePyrolysisRegion
|
||||
(
|
||||
additionalControlsDict.lookupOrDefault("solvePyrolysisRegion", true)
|
||||
);
|
||||
|
||||
scalar maxDi = pyrolysis.maxDiff();
|
||||
Reference in New Issue
Block a user