From dd989a86004bbf2d6ff8c36d4ea946da427fc42d Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Wed, 23 Nov 2016 11:21:23 +0000 Subject: [PATCH] BUG: Corrected constructor initialisation error introduced in last commit; code tidying --- .../TDACChemistryModel/reduction/DAC/DAC.C | 60 +++++++++++-------- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DAC/DAC.C b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DAC/DAC.C index 3eeb9c3295..9dc88e2315 100644 --- a/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DAC/DAC.C +++ b/src/thermophysicalModels/chemistryModel/chemistryModel/TDACChemistryModel/reduction/DAC/DAC.C @@ -37,11 +37,11 @@ Foam::chemistryReductionMethods::DAC::DAC chemistryReductionMethod(dict, chemistry), searchInitSet_(this->coeffsDict_.subDict("initialSet").size()), zprime_(0), - nbCLarge_(3), - sC_(this->nSpecie_,0), - sH_(this->nSpecie_,0), - sO_(this->nSpecie_,0), - sN_(this->nSpecie_,0), + nbCLarge_(this->coeffsDict_.template lookupOrDefault