cloudy  trunk
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
grains.h
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 
4 #ifndef _GRAINS_H_
5 #define _GRAINS_H_
6 
7 /* this routine is called by zero(), so it should contain initializations
8  * that need to be done every time before the input lines get parsed */
9 
11 void GrainDrive(void);
12 
14 void GrainDrift(void);
15 
17 void GrainZero(void);
18 
20 void GrainStartIter(void);
21 
23 void GrainRestartIter(void);
24 
26 void SetNChrgStates(long);
27 
29 long NewGrainBin(void);
30 
32 void ReturnGrainBins(void);
33 
35 void GrainsInit(void);
36 
38 void GrainMakeDiffuse(void);
39 
41 void qheat(/*@out@*/double[],/*@out@*/double[],/*@out@*/long*,long);
42 
44 void InitEnthalpy(void);
45 
46 typedef struct {
47  double dep;
48  bool lgAbunVsDepth,
49  lgForbidQHeating,
50  lgGreyGrain,
52 } GrainPar;
53 
58 void mie_write_opc(/*@in@*/const char*,/*@in@*/const char*,long int);
63 void mie_read_opc(/*@in@*/const char*,GrainPar);
73 void gauss_init(long int,double,double,double[],double[],double[],double[]);
79 void gauss_legendre(long int,double[],double[]);
90 void find_arr(double,double[],long int,/*@out@*/long int*,/*@out@*/bool*);
91 
92 #endif /* _GRAINS_H_ */

Generated for cloudy by doxygen 1.8.1.1