cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion_zero.cpp
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 /*ion_zero zero out heating save arrays */
4 #include "cddefines.h"
5 #include "thermal.h"
6 #include "ionbal.h"
7 
8 void ion_zero(long int nelem)
9 {
10  long int i;
11 
12  DEBUG_ENTRY( "ion_zero()" );
13 
14  /* heating array, but only for direct photoionization */
15  for( i=0; i < nelem; i++ )
16  {
17  thermal.heating[nelem][i] = 0.;
18  }
19  return;
20 }

Generated for cloudy by doxygen 1.8.1.2