ENH: updated thermo baffle to use new radiation model constructor

This commit is contained in:
andy
2012-10-15 10:49:49 +01:00
parent af69e16353
commit f55f721cc3

View File

@ -204,7 +204,14 @@ thermoBaffle2D::thermoBaffle2D
pTraits<scalar>::zero
)
),
radiation_(radiation::radiationModel::New(thermo_->T()))
radiation_
(
radiation::radiationModel::New
(
dict.subDict("radiation"),
thermo_->T()
)
)
{
init();
thermo_->correct();
@ -257,7 +264,13 @@ thermoBaffle2D::thermoBaffle2D
pTraits<scalar>::zero
)
),
radiation_(radiation::radiationModel::New(thermo_->T()))
radiation_
(
radiation::radiationModel::New
(
thermo_->T()
)
)
{
init();
thermo_->correct();