Changeset 855

Show
Ignore:
Timestamp:
11/20/07 04:32:44 (13 months ago)
Author:
hubertus
Message:

Fixed a performance issue: events where generated through inlined setState_xxx functions when they should not

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Modelica/branches/maintenance/2.2.2/Modelica/Media/Water/package.mo

    r573 r855  
    855855      d=d, 
    856856      T=T, 
    857       phase=IF97_Utilities.phase_dT(d,T), 
     857      phase=0, 
    858858      h=specificEnthalpy_dT(d,T), 
    859859      p=pressure_dT(d,T)); 
     
    865865      d=density_ph(p,h), 
    866866      T=temperature_ph(p,h), 
    867       phase=IF97_Utilities.phase_ph(p,h), 
     867      phase=0, 
    868868      h=h, 
    869869      p=p); 
     
    875875      d=density_ps(p,s), 
    876876      T=temperature_ps(p,s), 
    877       phase=IF97_Utilities.phase_ps(p,s), 
     877      phase=0, 
    878878      h=specificEnthalpy_ps(p,s), 
    879879      p=p);