cloudy trunk
Loading...
Searching...
No Matches
ion_zero.cpp
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2013 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
8void 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}
#define DEBUG_ENTRY(funcname)
Definition cddefines.h:684
void ion_zero(long int nelem)
Definition ion_zero.cpp:8
t_thermal thermal
Definition thermal.cpp:5