Logo Tesseroids 1.0: User Manual and API Documentation

src/c/constants.c File Reference

Define constants used, like the gravitational constant and unit conversions. More...

#include "constants.h"

Variables

const double MEAN_EARTH_RADIUS = 6378137.0
 Mean Earth radius [$ m $].
const double G = 0.00000000006673
 The gravitational constant [$ m^3*kg^{-1}*s^{-1} $].
const double SI2EOTVOS = 1000000000.0
 Conversion factor from SI units to Eotvos [$ \frac{1}{s^2} = 10^9\ Eotvos $].
const double SI2MGAL = 100000.0
 Conversion factor from SI units to mGal [$ 1 \frac{m}{s^2} = 10^5\ mGal $].
const double PI = 3.1415926535897932384626433832795
 Pi.
const int TESSEROID_SIZE_RATIO = 4
 Minimum distance-to-size ratio for computations to be accurate.

Detailed Description

Define constants used, like the gravitational constant and unit conversions.

All values are in SI units!

Author:
Leonardo Uieda
Date:
24 Jan 2011
Generated on Tue Apr 26 12:17:07 2011 for Tesseroids 1.0: User manual and API documentation by doxygen 1.6.3