![]() |
Tesseroids 1.0: User Manual and API Documentation |
Functions that calculate the gravitational potential and its first and second derivatives for the rectangular prism. More...
#include "utils.h"
Go to the source code of this file.
Functions | |
double | prism_pot (PRISM prism, double xp, double yp, double zp) |
Calculates potential caused by a right rectangular prism. | |
double | prism_gx (PRISM prism, double xp, double yp, double zp) |
Calculates gx component caused by a right rectangular prism. | |
double | prism_gy (PRISM prism, double xp, double yp, double zp) |
Calculates gy component caused by a right rectangular prism. | |
double | prism_gz (PRISM prism, double xp, double yp, double zp) |
Calculates gz component caused by a right rectangular prism. | |
double | prism_gxx (PRISM prism, double xp, double yp, double zp) |
Calculates gxx component caused by a right rectangular prism. | |
double | prism_gxy (PRISM prism, double xp, double yp, double zp) |
Calculates gxy component caused by a right rectangular prism. | |
double | prism_gxz (PRISM prism, double xp, double yp, double zp) |
Calculates gxz component caused by a right rectangular prism. | |
double | prism_gyy (PRISM prism, double xp, double yp, double zp) |
Calculates gyy component caused by a right rectangular prism. | |
double | prism_gyz (PRISM prism, double xp, double yp, double zp) |
Calculates gyz component caused by a right rectangular prism. | |
double | prism_gzz (PRISM prism, double xp, double yp, double zp) |
Calculates gzz component caused by a right rectangular prism. |
Functions that calculate the gravitational potential and its first and second derivatives for the rectangular prism.
Using the formulas in Nagy et al. (2000).
The coordinate system used is that of the article, ie:
x -> North y -> East z -> Down
References
Include formulas in function descriptions
Unroll loops in gx and gy
double prism_gx | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gx component caused by a right rectangular prism.
Input values in SI units and returns values in mGal!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gxx | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gxx component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gxy | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gxy component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gxz | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gxz component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gy | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gy component caused by a right rectangular prism.
Input values in SI units and returns values in mGal!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gyy | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gyy component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gyz | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gyz component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gz | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gz component caused by a right rectangular prism.
Input values in SI units and returns values in mGal!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_gzz | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates gzz component caused by a right rectangular prism.
Input values in SI units and returns values in Eotvos!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |
double prism_pot | ( | PRISM | prism, | |
double | xp, | |||
double | yp, | |||
double | zp | |||
) |
Calculates potential caused by a right rectangular prism.
Input and output values in SI units!
prism | data structure describing the prism | |
xp | x coordinate of the computation point | |
yp | y coordinate of the computation point | |
zp | z coordinate of the computation point |