00001 /* This file is part of Cloudy and is copyright (C)1978-2011 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 00004 #ifndef ITERATIONS_H_ 00005 #define ITERATIONS_H_ 00006 00008 void IterStart(void); 00009 00011 void IterRestart(void); 00012 00014 void IterEnd(void); 00015 00018 int iter_end_check(void); 00019 00020 struct t_iterations { 00021 00026 long int itermx; 00027 00029 long int iter_malloc; 00030 00032 long int *IterPrnt; 00033 00036 bool lgLastIt; 00037 00039 bool lgIterAgain; 00040 00042 bool lgConverge_set; 00043 long int lim_zone; 00044 long int lim_iter; 00045 00046 }; 00047 extern t_iterations iterations; 00048 00049 #endif /* ITERATIONS_H_ */