Logo Tesseroids 1.0: User Manual and API Documentation

src/c/grav_sphere.h

Go to the documentation of this file.
00001 /* *****************************************************************************
00002  Copyright 2011 Leonardo Uieda
00003 
00004  Tesseroids is free software: you can redistribute it and/or modify
00005  it under the terms of the GNU General Public License as published by
00006  the Free Software Foundation, either version 3 of the License, or
00007  (at your option) any later version.
00008 
00009  Tesseroids is distributed in the hope that it will be useful,
00010  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  GNU General Public License for more details.
00013 
00014  You should have received a copy of the GNU General Public License
00015  along with Tesseroids.  If not, see <http://www.gnu.org/licenses/>.
00016  **************************************************************************** */
00017 
00069 #ifndef _TESSEROIDS_GRAV_SPHERE_H_
00070 #define _TESSEROIDS_GRAV_SPHERE_H_
00071 
00072 
00073 /* Needed for definition of SPHERE */
00074 #include "utils.h"
00075 
00076 
00095 extern double sphere_pot(SPHERE sphere, double lonp, double latp, double rp);
00096 
00097 
00119 extern double sphere_gx(SPHERE sphere, double lonp, double latp, double rp);
00120 
00121 
00143 extern double sphere_gy(SPHERE sphere, double lonp, double latp, double rp);
00144 
00145 
00167 extern double sphere_gz(SPHERE sphere, double lonp, double latp, double rp);
00168 
00169 
00190 extern double sphere_gxx(SPHERE sphere, double lonp, double latp, double rp);
00191 
00192 
00214 extern double sphere_gxy(SPHERE sphere, double lonp, double latp, double rp);
00215 
00216 
00238 extern double sphere_gxz(SPHERE sphere, double lonp, double latp, double rp);
00239 
00240 
00262 extern double sphere_gyy(SPHERE sphere, double lonp, double latp, double rp);
00263 
00264 
00286 extern double sphere_gyz(SPHERE sphere, double lonp, double latp, double rp);
00287 
00288 
00309 extern double sphere_gzz(SPHERE sphere, double lonp, double latp, double rp);
00310 
00311 
00312 #endif
Generated on Tue Apr 26 12:17:07 2011 for Tesseroids 1.0: User manual and API documentation by doxygen 1.6.3