ENH: Surface film - correct alpha field on construction

This commit is contained in:
andy 2013-10-10 16:41:30 +01:00
parent 1a3b632248
commit 2c4c8eabe3
2 changed files with 5 additions and 0 deletions

View File

@ -786,6 +786,8 @@ kinematicSingleLayer::kinematicSingleLayer
{
transferPrimaryRegionThermoFields();
correctAlpha();
correctThermoFields();
deltaRho_ == delta_*rho_;

View File

@ -576,6 +576,9 @@ thermoSingleLayer::thermoSingleLayer
if (readFields)
{
transferPrimaryRegionThermoFields();
correctAlpha();
correctThermoFields();
// Update derived fields