Cloudy
Spectral Synthesis Code for Astrophysics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
iterations.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2023 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef ITERATIONS_H_
5 #define ITERATIONS_H_
6 
7 #include "module.h"
8 
10 void IterStart(void);
11 
13 void IterRestart(void);
14 
16 void IterEnd(void);
17 
20 int iter_end_check(void);
21 
22 struct t_iterations : public module {
23 
24  const char *chName() const
25  {
26  return "iterations";
27  }
28  void zero();
29  void comment(t_warnings&) {}
30 
31  void alloc();
32 
37  long int itermx;
38 
40  long int iter_alloc;
41 
43  vector<long int> IterPrnt;
44 
47  bool lgLastIt;
48 
54 
55  /* has the optical depth scale converged, or is another iteration needed?
56  * These checks are only done when ITERATE TO CONVERGENCE is requested */
58 
61  long int lim_zone;
62  long int lim_iter;
63 
65  bool lgEndDflt;
66 
68  long int nEndDflt;
69 
71  vector<long int> nend ;
72 
77  vector<double> StopThickness;
78 
80  vector<double> StopRadius;
81 
82 };
84 
85 #endif /* ITERATIONS_H_ */
long int lim_iter
Definition: iterations.h:62
bool lgIterAgain
Definition: iterations.h:53
void alloc()
Definition: iterations.cpp:35
Definition: warnings.h:11
vector< long int > nend
Definition: iterations.h:71
long int iter_alloc
Definition: iterations.h:40
bool lgEndDflt
Definition: iterations.h:65
t_iterations iterations
Definition: iterations.cpp:6
vector< double > StopThickness
Definition: iterations.h:77
Definition: iterations.h:22
void IterStart(void)
Definition: iter_startend.cpp:88
bool lgConverge_set
Definition: iterations.h:60
void zero()
Definition: iterations.cpp:8
vector< long int > IterPrnt
Definition: iterations.h:43
bool lgOpticalDepthonverged
Definition: iterations.h:57
long int nEndDflt
Definition: iterations.h:68
void comment(t_warnings &)
Definition: iterations.h:29
long int lim_zone
Definition: iterations.h:61
long int itermx
Definition: iterations.h:37
bool lgLastIt
Definition: iterations.h:47
void IterRestart(void)
Definition: iter_startend.cpp:711
vector< double > StopRadius
Definition: iterations.h:80
void IterEnd(void)
Definition: iter_startend.cpp:1091
const char * chName() const
Definition: iterations.h:24
int iter_end_check(void)
Definition: iter_end_chk.cpp:38
Definition: module.h:26