/home66/gary/public_html/cloudy/c08_branch/source/ion_zero.cpp

Go to the documentation of this file.
00001 /* This file is part of Cloudy and is copyright (C)1978-2008 by Gary J. Ferland and
00002  * others.  For conditions of distribution and use see copyright notice in license.txt */
00003 /*ion_zero zero out heating save arrays */
00004 #include "cddefines.h"
00005 #include "thermal.h"
00006 #include "ionbal.h"
00007 
00008 void ion_zero(long int nelem)
00009 {
00010         long int i;
00011 
00012         DEBUG_ENTRY( "ion_zero()" );
00013 
00014         /* heating array, but only for direct photoionization */
00015         for( i=0; i < nelem; i++ )
00016         {
00017                 thermal.heating[nelem][i] = 0.;
00018         }
00019         return;
00020 }

Generated on Mon Feb 16 12:01:18 2009 for cloudy by  doxygen 1.4.7