1 /**********************************************************************
3 FILENAME: uiuc_iceboot.cpp
5 ----------------------------------------------------------------------
7 DESCRIPTION: checks if the iceboot is on, if so then eta ice will equal
10 ----------------------------------------------------------------------
14 ----------------------------------------------------------------------
18 ----------------------------------------------------------------------
20 HISTORY: 01/11/2002 initial release
22 ----------------------------------------------------------------------
24 AUTHOR(S): Robert Deters <rdeters@uiuc.edu>
25 Ann Peedikayil <peedikay@uiuc.edu>
27 ----------------------------------------------------------------------
31 ----------------------------------------------------------------------
38 ----------------------------------------------------------------------
40 OUTPUTS: -icing severity (eta_ice)
42 ----------------------------------------------------------------------
44 CALLED BY: uiuc_coefficients
46 ----------------------------------------------------------------------
50 ----------------------------------------------------------------------
52 COPYRIGHT: (C) 2002 by Michael Selig
54 This program is free software; you can redistribute it and/or
55 modify it under the terms of the GNU General Public License
56 as published by the Free Software Foundation.
58 This program is distributed in the hope that it will be useful,
59 but WITHOUT ANY WARRANTY; without even the implied warranty of
60 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
61 GNU General Public License for more details.
63 You should have received a copy of the GNU General Public License
64 along with this program; if not, write to the Free Software
65 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
66 USA or view http://www.gnu.org/copyleft/gpl.html.
68 **********************************************************************/
70 #include "uiuc_iceboot.h"
73 void uiuc_iceboot(double dt)
76 if (bootTrue[bootindex])
78 if (bootTime[bootindex]- dt <Simtime && bootTime[bootindex]+ dt >Simtime)
79 // checks if the boot is on
82 // drops the eta ice to zero
84 if (bootTime [bootindex] > iceTime)
85 iceTime = bootTime[bootindex];