Commit 052ef89a authored by mattijs's avatar mattijs
Browse files

BUG: TimeActivatedExplicitSource : active switch not parsed correctly

parent 78e5ef9d
......@@ -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"))),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment