> void FGPiston::doEGT(void)
> {
> ...
> ...
> // DAVE: CHECK THIS
> if (heat_capacity_exhaust <= 0.0000001)
> delta_T_exhaust = enthalpy_exhaust / heat_capacity_exhaust;
> else
> delta_T_exhaust -= (dt/2.0)*delta_T_exhaust;
>
>
Do you mean :
if (heat_capacity_exhaust >= 0.0000001)
because zero is less than 0.0000001 and it bombs anyway !
-Fred
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel