reactingEulerFoam/phaseSystem: Create an ordered container for phaseModels

The previous method using a HashTable required a separate ordered list
of names which is hard to work with and maintain.
This commit is contained in:
Henry Weller
2015-08-28 18:40:22 +01:00
parent 363cd93d59
commit ffedbafee1
16 changed files with 214 additions and 84 deletions

View File

@ -50,7 +50,7 @@ Foam::ThermoPhaseModel<BasePhaseModel, ThermoType>::ThermoPhaseModel
{
thermoPtr_.set
(
ThermoType::New(fluid.mesh(), phaseName).ptr()
ThermoType::New(fluid.mesh(), this->name()).ptr()
);
thermo_ = thermoPtr_.ptr();