/* This file is part of Cloudy and is copyright (C)1978-2006 by Gary J. Ferland
 * For conditions of distribution and use see copyright notice in license.txt */
/*IterStart, set and save values of many variables at start of iteration */
void IterStart(void);
/*IterRestart, reset values of many variables at start of iteration */
void IterRestart(void);
/* close out this iteration */
void IterEnd(void);

EXTERN struct t_IterCnt {

	/* these are the variables that control how many iterations are
	 * to be done, and number of the current iteration
	 * itermx is number of iterations to perform, set with iterate command
	 * upper limit is parameter variable ItrDim */
	long int itermx;

	/*number of zones to print on each iteration*/
	long int IterPrnt[ITRDIM];

	/* this is false on any but the last iteration
	 * set true in startr if iter > itermx */
	int lgLastIt;

	/* flag saying that another iteration is needed */
	int lgIterAgain;

	/* next three implement set coverage command to limit iterations and zones */
	int lgConverge_set;
	long int lim_zone;
	long int lim_iter;

	}	iterations;
