Cloudy Data Archive
cloudy
trunk
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
source
ion_zero.cpp
Go to the documentation of this file.
1
/* This file is part of Cloudy and is copyright (C)1978-2022 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
.
setHeating
(nelem,i,0.);
18
}
19
return
;
20
}
thermal
t_thermal thermal
Definition:
thermal.cpp:6
thermal.h
ion_zero
void ion_zero(long int nelem)
Definition:
ion_zero.cpp:8
ionbal.h
t_thermal::setHeating
void setHeating(long nelem, long ion, double heating)
Definition:
thermal.h:190
cddefines.h
DEBUG_ENTRY
#define DEBUG_ENTRY(funcname)
Definition:
cddefines.h:723
Generated by
1.8.5