X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FUIUCModel%2Fuiuc_ice.cpp;h=149e214c3c3bc6cbd95c636a33964cba142d0463;hb=c62b0044380eb0387c447cc33660f74b02cbbce4;hp=d777d5a14289724ca0410fa3d9e0d89ec2cb74bb;hpb=517d111c5cb8da39af6a183ae90ce06cca9cc832;p=flightgear.git diff --git a/src/FDM/UIUCModel/uiuc_ice.cpp b/src/FDM/UIUCModel/uiuc_ice.cpp index d777d5a14..149e214c3 100644 --- a/src/FDM/UIUCModel/uiuc_ice.cpp +++ b/src/FDM/UIUCModel/uiuc_ice.cpp @@ -53,11 +53,11 @@ CALLED BY: uiuc_coefficients uiuc_coef_drag - uiuc_coef_lift - uiuc_coef_pitch - uiuc_coef_sideforce - uiuc_coef_roll - uiuc_coef_yaw + uiuc_coef_lift + uiuc_coef_pitch + uiuc_coef_sideforce + uiuc_coef_roll + uiuc_coef_yaw ---------------------------------------------------------------------- @@ -78,8 +78,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, - USA or view http://www.gnu.org/copyleft/gpl.html. + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **********************************************************************/ @@ -97,14 +96,14 @@ void uiuc_ice_eta() // slowly increase icing severity over period of transientTime if (Simtime < (iceTime + transientTime)) - { - slope = eta_ice_final / transientTime; - eta_ice = slope * (Simtime - iceTime); - } + { + slope = eta_ice_final / transientTime; + eta_ice = slope * (Simtime - iceTime); + } else - { - eta_ice = eta_ice_final; - } + { + eta_ice = eta_ice_final; + } } return; }