-
Notifications
You must be signed in to change notification settings - Fork 55
/
system.h
62 lines (47 loc) · 1.89 KB
/
system.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
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
@file system.h
@brief Subroutines that control system-wide properties.
@author Rory Barnes ([RoryBarnes](https://github.com/RoryBarnes/))
@date May 7 2014
*/
/* @cond DOXYGEN_OVERRIDE */
void InitializeSystem(BODY *,CONTROL *,SYSTEM *);
double fdSemiToPeriod(double, double);
double fdPeriodToSemi(double, double);
double fdSemiToMeanMotion(double, double);
double fdMeanMotionToSemi(double, double, double);
double fdMeanMotionToSemi(double, double, double);
double *fdOrbAngMom(BODY *, CONTROL *, int);
double fdTotAngMom(BODY *, CONTROL *, SYSTEM *);
double fdOrbPotEnergy(BODY *, CONTROL *, SYSTEM *, int);
double fdOrbKinEnergy(BODY *, CONTROL *, SYSTEM *, int);
double fdOrbEnergy(BODY *, CONTROL *, SYSTEM *, int);
double fdTotOrbEnergy(BODY *, CONTROL *, SYSTEM *);
double fdKinEnergy(BODY *, CONTROL *, SYSTEM *, int);
double fdPotEnergy(BODY *, CONTROL *, SYSTEM *, int);
double fdTotEnergy(BODY *, CONTROL *, SYSTEM *);
int bPrimary(BODY *, int);
void CalcHK(BODY *, int);
void CalcPQ(BODY *, int);
void inv_plane(BODY *, SYSTEM *, int);
double fdMutualInclination(BODY *, int, int);
int fbCheckMaxMutualInc(BODY *, EVOLVE *, HALT *, IO *, int, int, int);
void kepler_eqn(BODY *, int);
void cross(double *, double *, double *);
void osc2cart(BODY *, int);
void cart2osc(BODY *, int);
double fdInstellation(BODY *, int);
double fdXUVFlux(BODY *, int);
double fdLuminosityTotal(BODY *, int);
/* Multi-body derivative equations */
double fdSemiDtEqSt(BODY *, SYSTEM *, int *);
double fdJStarDt(BODY *, int);
double fdJBrakingStarDt(BODY *, int);
double fdRadiusStarDt(BODY *, int);
double fdSemiTidalLockBinEqSt(BODY *, int, int);
double fndUpdateSpiNBodyCoords(BODY *, EVOLVE *);
void fdMergePlanet(BODY *, UPDATE *, fnUpdateVariable ***, int);
double fdBondiRadius(BODY *, int);
double fdRocheRadius(BODY *, int, int);
void fvCumulativeXUVFlux(BODY *,EVOLVE *,SYSTEM *,double,int);
/* @endcond */