Athena++/Atmosphere
Planetary Atmosphere Simulator
core.h File Reference
#include <math.h>

Go to the source code of this file.

Classes

struct  float_triplet
 

Functions

double sqr (double x)
 
double cub (double x)
 
double min (double x1, double x2, double x3)
 
double max (double x1, double x2, double x3)
 
double allmax (double *a, int n)
 
double allmin (double *a, int n)
 
int sign (double x)
 
int fcmp (double x1, double x2)
 
double rad2deg (double phi)
 
double deg2rad (double phi)
 
double km2m (double x)
 
double m2km (double x)
 
double day2sec (double x)
 
double sec2day (double x)
 
double au2m (double x)
 
double m2au (double x)
 

Function Documentation

◆ sqr()

double sqr ( double  x)
inline

Definition at line 9 of file core.h.

◆ cub()

double cub ( double  x)
inline

Definition at line 12 of file core.h.

◆ min()

double min ( double  x1,
double  x2,
double  x3 
)
inline

Definition at line 15 of file core.h.

◆ max()

double max ( double  x1,
double  x2,
double  x3 
)
inline

Definition at line 18 of file core.h.

◆ allmax()

double allmax ( double *  a,
int  n 
)
inline

Definition at line 21 of file core.h.

◆ allmin()

double allmin ( double *  a,
int  n 
)
inline

Definition at line 27 of file core.h.

◆ sign()

int sign ( double  x)
inline

Definition at line 33 of file core.h.

◆ fcmp()

int fcmp ( double  x1,
double  x2 
)

Definition at line 34 of file fcmp.c.

◆ rad2deg()

double rad2deg ( double  phi)
inline

Definition at line 42 of file core.h.

◆ deg2rad()

double deg2rad ( double  phi)
inline

Definition at line 43 of file core.h.

◆ km2m()

double km2m ( double  x)
inline

Definition at line 45 of file core.h.

◆ m2km()

double m2km ( double  x)
inline

Definition at line 46 of file core.h.

◆ day2sec()

double day2sec ( double  x)
inline

Definition at line 48 of file core.h.

◆ sec2day()

double sec2day ( double  x)
inline

Definition at line 49 of file core.h.

◆ au2m()

double au2m ( double  x)
inline

Definition at line 51 of file core.h.

◆ m2au()

double m2au ( double  x)
inline

Definition at line 52 of file core.h.