On Sat, 2009-09-12 at 10:21 -0500, Tim Moore wrote:
> Update of /var/cvs/FlightGear-0.9/source/src/Environment
> In directory baron.flightgear.org:/tmp/cvs-serv2733/src/Environment
> 
> Modified Files:
>       atmosphere.cxx atmosphere.hxx environment.cxx environment.hxx 
> Log Message:
> Merge branch 'topic/atmos-merge' into next
> 
> John Denker's atmosphere changes. Original commit message:
> Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
> the top of the mesosphere. Correctly exhibits the HALT phenomenon.


Index: environment.cxx
629 : curt 1.1 FGEnvironment::_recalc_sl_temperature ()
630 :     {

(...)

639 : timoore 1.28 if (elevation_ft >= ISA_def[1].height) { 
640 :     SG_LOG(SG_GENERAL, SG_ALERT, "recalc_sl_temperature: " 
641 :     << "valid only in troposphere, not " << elevation_ft);
642 :     return;


Quick question.  The old code would silently ignore updating the sea
level temperature if we were above 28000 ft.  This code seems to want to
spit gratuitous error messages if we get above whatever altitude
ISA_def[1].height represents. 

Is calling  _recalc_sl_temperature () above some vaguely defined
altitude an error that deserves to be an SG_ALERT?

Thanks,
Ron



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to