Berta Vilacís (fd116170) at 02 Jun 09:27
It fixes the zero or nan velocities when the time we ask to calculate the velocity is an older limit of the age of the finite rotations given to plates (included in the rotational file).
As a default, we calculate the euler pole using two finite rotations at (time, time+1). With this fix, when the time we are want the velocities is the last listed in the finite rotations in the rotational for a given plate, we use the approximation of (time-1, time).
This is in line with what gplates offers. And obtains the same results as calculating the velocities using pygplates for conflicting times and platesID.
Berta Vilacís (fd116170) at 01 Jun 18:11
Fixes the zero/nan velocities for old plate recon.
Berta Vilacís (1d215478) at 01 Jun 09:47
The function point-in-polygon that finds which plate belongs the point has been upgraded. Now, it uses the coordinates lon, lat and places the point and the polygon at the surface of a sphere using the boost library. It also calculates the distance from the point to the polygon using the functionalities of the boost library. Each point has a unique solution to the polygon that belongs to.
Also we generalised plates, such as, internally it does the conversion from xyz to lon lat coordinate system, allowing the user to pass in any xyz point in any radius.
The dependency of plates to CGAL has been removed and such the cmake files have been modified.
The function point-in-polygon that finds which plate belongs the point has been upgraded. Now, it uses the coordinates lon, lat and places the point and the polygon at the surface of a sphere using the boost library. It also calculates the distance from the point to the polygon using the functionalities of the boost library. Each point has a unique solution to the polygon that belongs to.
Also we generalised plates, such as, internally it does the conversion from xyz to lon lat coordinate system, allowing the user to pass in any xyz point in any radius.
The dependency of plates to CGAL has been removed and such the cmake files have been modified.
Berta Vilacís (738f2ef5) at 16 Jan 16:59
Cleanup and change of internal coordinate system
... and 3 more commits
Berta Vilacís (9ef94f5f) at 16 Jan 16:47
Point in polygon in 3D using the library boost
... and 1 more commit
Berta Vilacís (9bce1d33) at 13 Jan 15:21
Cleanup and change of internal coordinate system
Berta Vilacís (163da0bc) at 12 Jan 17:36
Point in polygon in 3D using the library boost
... and 40 more commits
This change avoids having large velocities due to the creation of a wrong reconstruction tree. Some plates have two reconstruction poles at the same time, the plate reconstruction tree was set to get the older plate ID instead of the current one. Now the code is set to create the reconstruction tree with the age provided by the user.
Berta Vilacís (1a46caad) at 12 Dec 11:11
Fixes the high velocities due to wrong rec tree
fixed with commit 4e604ab6