forked from elizakempton/Exo_Transmit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prototypes.h
49 lines (37 loc) · 1.79 KB
/
prototypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* This file is part of Exo_Transmit.
Exo_Transmit is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Exo_Transmit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Exo_Transmit. If not, see <http://www.gnu.org/licenses/>.
*/
/*----------------------- protytopes.h ------------------------------
Author: Eliza Kempton ([email protected])
--------------------------------------------------------------------- */
#ifndef __PROTOTYPES_H__
#define __PROTOTYPES_H__
/*---- Function prototypes associated w/ Exo_Transmit --------------- */
void getChemSelection(int array[]);
char **getFileArray();
double Radius(double R_pl, double *ds, int NT);
void Angles(double *ds, double *theta, double *dtheta, int NT, double Rpl, double Rst);
void Tau_LOS(double **kappa_nu, double **tau_tr, double *ds, int NT, double Rpl, int NLam);
void Locate(int n, double *array, double value, int *ilow);
int RT_Transmit();
void ReadTP();
void TotalOpac();
double Planck(double T, double lambda);
double lint2D(double x1, double x2, double y1, double y2, double z1,
double z2, double z3, double z4, double x, double y);
double lint(double x1, double y1, double x2, double y2, double x);
void FreeTP();
void ReadChemTable();
void FreeChemTable();
void errorCheck(int onOff, double value);
#endif
/*---- end ---------------- prototypes.h ---------------------------- */