-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnltepop.h
18 lines (15 loc) · 892 Bytes
/
nltepop.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef NLTEPOP_H
#define NLTEPOP_H
#include <cstdio>
void solve_nlte_pops_element(int element, int nonemptymgi, int timestep, int nlte_iter);
[[nodiscard]] auto superlevel_boltzmann(int nonemptymgi, int element, int ion, int level) -> double;
[[nodiscard]] auto get_nlte_levelpop_over_rho(int nonemptymgi, int element, int ion, int level) -> double;
[[nodiscard]] auto get_nlte_superlevelpop_over_rho(int nonemptymgi, int element, int ion) -> double;
void set_nlte_levelpop_over_rho(int nonemptymgi, int element, int ion, int level, double value);
void set_nlte_superlevelpop_over_rho(int nonemptymgi, int element, int ion, double value);
void nltepop_write_to_file(int nonemptymgi, int timestep);
void nltepop_open_file(int my_rank);
void nltepop_close_file();
void nltepop_write_restart_data(FILE *restart_file);
void nltepop_read_restart_data(FILE *restart_file);
#endif // NLTEPOP_H