Release v3.0.0
Key Changes
- The accelerations are now multiplied by
-1.0
to follow the geodesy and geophysics sign conventions
Important
This gravity model's output now obeys to the geodesy and geophysics sign conventions.
Hence, the potential
Accordingly, the accelerations are defined as
The sign of the acceleration output is inverted when compared to the older version, v2.1.0, and before
Have a look at I/O Explaination
Python Interface
-
The
Polyhedron
is now exposed toPython
and enforces compliance with the gravity model preconditions about the vertex ordering. It is impossible to create an invalidPolyhedron
if not explicitly specified via the__init__
-method. -
The
evaluate
andGravityEvaluable
do not take apolyhedral_source
&density
anymore. They only take aPolyhedron
as an input argument -
The
utility
submodule was removed. This functionality is now grouped inside thePolyhedron
class.- The
read(filenames)
to yieldvertices
andfaces
can be modeled by creating aPolyhedron
from filenames and then effectively by accessing itsvertcies
andfaces
properties - The
check_mesh
is now effectively part of the construction of aPolyhedron
. If you still require a dedicated check:- Construct the
Polyhedron
with disabled checks (integrity_check=PolyhedronIntegrity.DISABLE
) - Call
check_normal_orientation
on the instance. It returns the majority plane unit normal orientation (INWARDS or OUTWARDS) and a set of face indices violating this orientation. So, e.g., all plane unit normals are pointing OUTWARDS except the normal at face's array index 1.
- Construct the
- More details in the docs
- The
Tip
Find more help in the updated Python Examples
C++ Library
-
The
Polyhedron
is now exposed toPython
and enforces compliance with the gravity model preconditions about the vertex ordering. It is impossible to create an invalidPolyhedron
if not explicitly specified via the constructor -
The
evaluate
andGravityEvaluable
do not take apolyhedral_source
&density
anymore. They only take aPolyhedron
as an input argument -
When using the C++ executable - The
yaml
configuration file parametercheck_mesh
defaults now totrue
and will repair the mesh if possible (so basically,true/ false
<-->PolyhedronIntegrity::HEAL/ PolyhedronIntegrity::DISABLE
)
Tip
Find more help in the updated C++ Examples
Details
Resolved Issues & Pull Requests
- Paper writing by @gomezzz in #11
- JOSS - PRE REVIEW Changes by @schuhmaj in #18
- [JOSS Review] Fix Python syntax of minimal example by @santisoler in #20
- [JOSS Review] Minor fix to example using GravityEvaluable by @santisoler in #23
- [JOSS Review] Increase indentation of list in CONTRIBUTING.md by @santisoler in #25
- [JOSS Review] Improve Python tests and unpin Numpy version by @santisoler in #26
- Switch to GitHubPages by @schuhmaj in #35
- [JOSS Review] Bits and Pieces - Version 2.2 by @schuhmaj in #31
- Version 3 - Failsafe Polyhedral Gravity Modeling & Polyhedron Class by @schuhmaj in #36
New Contributors
- @santisoler made their first contribution in #20
Full Changelog: v2.1.0...v3.0.0