80 g0 = 9.780327 * ( 1 + 5.3024e-3 * pow( sin(x), 2.0 ) +
81 5.8e-6 * pow( sin(2*x), 2.0 ) );
123 if( model ==
"Sphere" )
129 else if( model ==
"WGS84" )
131 refellipsoid[0] = 6378137;
132 refellipsoid[1] = 0.081819190842621;
136 throw runtime_error(
"Unknown selection for input argument *model*." );
149 if( model ==
"Sphere" )
151 refellipsoid[0] = 69911e3;
155 else if( model ==
"Ellipsoid" )
157 refellipsoid[0] = 71492e3;
158 refellipsoid[1] = 0.3543;
162 throw runtime_error(
"Unknown selection for input argument *model*." );
175 if( model ==
"Sphere" )
177 refellipsoid[0] = 3389.5e3;
181 else if( model ==
"Ellipsoid" )
183 refellipsoid[0] = 3396.19e3;
184 refellipsoid[1] = 0.1083;
188 throw runtime_error(
"Unknown selection for input argument *model*." );
201 if( model ==
"Sphere" )
203 refellipsoid[0] = 1737.4e3;
207 else if( model ==
"Ellipsoid" )
211 refellipsoid[0] = 1738.14e3;
212 refellipsoid[1] = 0.0500;
216 throw runtime_error(
"Unknown selection for input argument *model*." );
229 if( model ==
"Sphere" )
231 refellipsoid[0] = 6051.8e3;
236 throw runtime_error(
"Unknown selection for input argument *model*." );
void refellipsoidEarth(Vector &refellipsoid, const String &model, const Verbosity &)
WORKSPACE METHOD: refellipsoidEarth.
void g0Mars(Numeric &g0, const Verbosity &)
WORKSPACE METHOD: g0Mars.
Declarations having to do with the four output streams.
void g0Venus(Numeric &g0, const Verbosity &)
WORKSPACE METHOD: g0Venus.
void refellipsoidVenus(Vector &refellipsoid, const String &model, const Verbosity &)
WORKSPACE METHOD: refellipsoidVenus.
The implementation for String, the ARTS string class.
The global header file for ARTS.
void g0Earth(Numeric &g0, const Numeric &lat, const Verbosity &)
WORKSPACE METHOD: g0Earth.
NUMERIC Numeric
The type to use for all floating point numbers.
void g0Jupiter(Numeric &g0, const Verbosity &)
WORKSPACE METHOD: g0Jupiter.
void resize(Index n)
Assignment operator from VectorView.
const Numeric EARTH_RADIUS
void refellipsoidMoon(Vector &refellipsoid, const String &model, const Verbosity &)
WORKSPACE METHOD: refellipsoidMoon.
void refellipsoidMars(Vector &refellipsoid, const String &model, const Verbosity &)
WORKSPACE METHOD: refellipsoidMars.
void refellipsoidJupiter(Vector &refellipsoid, const String &model, const Verbosity &)
WORKSPACE METHOD: refellipsoidJupiter.