Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
hcmap.h
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 
4 #ifndef HCMAP_H_
5 #define HCMAP_H_
6 
11 void map_do(
12  FILE *io,
13  const char *chType);
14 
16 struct t_hcmap {
17 
20  long int MapZone;
21 
24 
26  long int nMapStep;
27 
30  bool lgMapOK;
31 
34 
36  bool lgMapDone;
37 
39  long int nmap;
40 
42  vector<double> temap;
43 
45  vector<double> hmap;
46 
48  vector<double> cmap;
49 
53  long int nMapAlloc;
54 
56  {
57  lgMapOK = true;
58  lgMapDone = false;
59 
60  /* will be reset to positive number when map actually done */
61  nMapAlloc = 0;
62  nmap = 0;
63  lgMapBeingDone = false;
64  }
65 };
66 extern t_hcmap hcmap;
67 
68 #endif /* HCMAP_H_ */
vector< double > hmap
Definition: hcmap.h:45
bool lgMapOK
Definition: hcmap.h:30
long int MapZone
Definition: hcmap.h:20
vector< double > cmap
Definition: hcmap.h:48
Definition: hcmap.h:16
long int nMapStep
Definition: hcmap.h:26
t_hcmap hcmap
Definition: hcmap.cpp:20
bool lgMapDone
Definition: hcmap.h:36
float realnum
Definition: cddefines.h:127
bool lgMapBeingDone
Definition: hcmap.h:33
t_hcmap()
Definition: hcmap.h:55
long int nmap
Definition: hcmap.h:39
realnum RangeMap[2]
Definition: hcmap.h:23
vector< double > temap
Definition: hcmap.h:42
void map_do(FILE *io, const char *chType)
Definition: hcmap.cpp:22
long int nMapAlloc
Definition: hcmap.h:53