forked from VirtualPlanetaryLaboratory/vplanet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem.h
49 lines (38 loc) · 1.44 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
/**
@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 */
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);
double fdMutualInclination(BODY*,int,int);
int fbCheckMaxMutualInc(BODY*,EVOLVE*,HALT*,IO*,int,int,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);
/* @endcond */