From 052ef89a17adf42edd45bd3d96d755553ccc22bb Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 17 May 2010 15:49:31 +0100 Subject: [PATCH] BUG: TimeActivatedExplicitSource : active switch not parsed correctly --- .../timeActivatedExplicitSource/TimeActivatedExplicitSource.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitSource/TimeActivatedExplicitSource.C b/src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitSource/TimeActivatedExplicitSource.C index 1873bbe3fec..f5a768c4a8b 100644 --- a/src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitSource/TimeActivatedExplicitSource.C +++ b/src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitSource/TimeActivatedExplicitSource.C @@ -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"))), -- GitLab