Software Open Access

Tesseroids v1.2.0: Forward modeling of gravitational fields in spherical coordinates

Uieda, Leonardo

A collection of command-line programs for modeling the gravitational potential, acceleration, and gradient tensor. Tesseroids supports models and computation grids in Cartesian and spherical coordinates.

Official website and documentation: http://tesseroids.leouieda.com/

Changes to version 1.2.0:

* General improvements to the adaptive discretization (described in the upcoming method paper)

* Better error messages when there is a stack overflow (computation point too close to the tesseroid).

* Replace the recursive algorithm with a stack-based algorithm for adaptive discretization of tesseroids. This makes the computations faster, specially for gravity acceleration and gradient tensor components.

* Divide the tesseroids only along the necessary dimensions. This provides speedups when dealing with flattened or elongated tesseroids.

* Speedup tesseroid computations by moving some trigonometric functions out of loops.

* BUG fix: Singularities when calculating around a prism. Due to wrong quadrant returned by atan2 and log(0) evaluations. Fix by wrapping atan2 in a safe_atan2 that corrects the result. log(0) error happened only in cross components of the gravity gradient when the computation is aligned with the vertices of a certain face (varies for each component. Fix by displacing the point a small amount when that happens.

Files (19.1 MB)
Name Size
tesseroids-1.2.0-bin32.tar.gz
md5:4c284db1b2c9962f69ad26794f5c9a97
4.3 MB Download
tesseroids-1.2.0-bin64.tar.gz
md5:2163ea52a6e4bc446d0653fae8d8f4f6
4.4 MB Download
tesseroids-1.2.0-win32.zip
md5:59d5fc4419a236665d0fb963fa863a85
5.9 MB Download
tesseroids-1.2.0.zip
md5:9e669aaf67347aabb540e4b7e856bbf1
4.4 MB Download
78
0
views
downloads
All versions This version
Views 7878
Downloads 00
Data volume 0 Bytes0 Bytes
Unique views 7878
Unique downloads 00

Share

Cite as