BUG: TimeActivatedExplicitSource : active switch not parsed correctly

This commit is contained in:
mattijs
2010-05-17 15:49:31 +01:00
parent 78e5ef9dbd
commit 052ef89a17

View File

@ -326,7 +326,7 @@ Foam::TimeActivatedExplicitSource<Type>::TimeActivatedExplicitSource
:
name_(name),
mesh_(mesh),
active_(dict.lookup("active")),
active_(readBool(dict.lookup("active"))),
timeStart_(readScalar(dict.lookup("timeStart"))),
duration_(readScalar(dict.lookup("duration"))),
volumeMode_(wordToVolumeModeType(dict.lookup("volumeMode"))),