polyhedral-gravity 3.0rc3__cp39-cp39-win_amd64.whl → 3.2rc1__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyhedral-gravity
3
- Version: 3.0rc3
3
+ Version: 3.2rc1
4
4
  Summary: Package to compute full gravity tensor of a given constant density polyhedron for arbitrary points according to the geodetic convention
5
5
  Author: Jonas Schuhmacher
6
6
  Author-email: jonas.schuhmacher@tum.de
@@ -79,8 +79,8 @@ which is strongly based on the former implementation in FORTRAN.
79
79
 
80
80
  > [!NOTE]
81
81
  > The [GitHub Pages](https://esa.github.io/polyhedral-gravity-model) of this project
82
- contain the full extensive documentation of C++ Library and the Python Interface
83
- as well as background on the gravity model and advanced settings not detailed here!
82
+ contain the full extensive documentation of the C++ Library and Python Interface
83
+ as well as background on the gravity model and advanced settings not detailed here.
84
84
 
85
85
  ## Input & Output (C++ and Python)
86
86
 
@@ -139,7 +139,7 @@ cube_density = 1.0
139
139
  computation_point = np.array([0, 0, 0])
140
140
  ```
141
141
 
142
- We first, define a constant density Polyhedron from `vertices` and `faces`
142
+ We first define a constant density Polyhedron from `vertices` and `faces`
143
143
 
144
144
  ```python
145
145
  cube_polyhedron = Polyhedron(
@@ -148,9 +148,9 @@ cube_polyhedron = Polyhedron(
148
148
  )
149
149
  ```
150
150
 
151
- In case you want to hand over the polyhedron via a supported file format,
151
+ In case you want to hand over the polyhedron via a [supported file format](https://esa.github.io/polyhedral-gravity-model/quickstart/supported_input.html),
152
152
  just replace the `polyhedral_source` argument with *a list of strings*,
153
- where each string is the path to a supported file format.
153
+ where each string is the path to a supported file format, e.g. `polyhedral_source=["eros.node","eros.face"]` or `polyhedral_source=["eros.mesh"]`.
154
154
 
155
155
  Continuing, the simplest way to compute the gravity is to use the `evaluate` function:
156
156
 
@@ -168,14 +168,15 @@ evaluations. This is especially useful if you want to compute the gravity
168
168
  for multiple computation points, but don't know the "future points" in advance.
169
169
 
170
170
  ```python
171
- evaluable = GravityEvaluable(polyhedron=cube_polyhedron)
171
+ evaluable = GravityEvaluable(polyhedron=cube_polyhedron) # stores intermediate computation steps
172
172
  potential, acceleration, tensor = evaluable(
173
173
  computation_points=computation_point,
174
174
  parallel=True,
175
175
  )
176
+ # Any future evaluable call after this one will be faster
176
177
  ```
177
178
 
178
- Note that the `computation_point` could also be (N, 3)-shaped array.
179
+ Note that the `computation_point` could also be (N, 3)-shaped array to compute multiple points at once.
179
180
  In this case, the return value of `evaluate(..)` or an `GravityEvaluable` will
180
181
  be a list of triplets comprising potential, acceleration, and tensor.
181
182
 
@@ -185,15 +186,15 @@ This property is - by default - checked when constructing the `Polyhedron`! So,
185
186
  is impossible if not **explicitly** disabled to create an invalid `Polyhedron`.
186
187
  You can disable/ enable this setting via the optional `integrity_check` flag and can even
187
188
  automatically repair the ordering via `HEAL`.
188
- As advanced user/ when you "know the mesh",
189
- you want to disable this check (via `DISABLE`) due to the additional runtime overhead!
189
+ If you are confident that your mesh is defined correctly (e.g. checked once with the integrity check)
190
+ you can disable this check (via `DISABLE`) to avoid the additional runtime overhead of the check.
190
191
 
191
192
  ```python
192
193
  cube_polyhedron = Polyhedron(
193
194
  polyhedral_source=(cube_vertices, cube_faces),
194
195
  density=cube_density,
195
196
  normal_orientation=NormalOrientation.INWARDS, # OUTWARDS (default) or INWARDS
196
- integrity_check=PolyhedronIntegrity.VERIFY, # AUTOMATIC (default) == VERIFY, DISABLE or HEAL
197
+ integrity_check=PolyhedronIntegrity.VERIFY, # VERIFY (default), DISABLE or HEAL
197
198
  )
198
199
  ```
199
200
 
@@ -333,8 +334,7 @@ The following options are available:
333
334
  During testing POLYHEDRAL_GRAVITY_PARALLELIZATION=`TBB` has been the most performant.
334
335
  It is further not recommend to change the LOGGING_LEVEL to something else than `INFO=2`.
335
336
 
336
- The recommended CMake command would look like this (we only need to change `PARALLELIZATION_DEVICE`, since
337
- the defaults of the others are already correctly set):
337
+ The recommended CMake settings using the `TBB` backend would look like this:
338
338
 
339
339
  ```bash
340
340
  cmake .. -POLYHEDRAL_GRAVITY_PARALLELIZATION="TBB"
@@ -345,7 +345,7 @@ cmake .. -POLYHEDRAL_GRAVITY_PARALLELIZATION="TBB"
345
345
  After the build, the gravity model can be run by executing:
346
346
 
347
347
  ```bash
348
- ./polyhedralGravity <YAML-Configuration-File>
348
+ ./polyhedralGravity <YAML-Configuration-File>
349
349
  ```
350
350
 
351
351
  where the YAML-Configuration-File contains the required parameters.
@@ -0,0 +1,6 @@
1
+ polyhedral_gravity.cp39-win_amd64.pyd,sha256=Fcrav0kKJ-KCQYMyTl8rnGvOGpNNjt9cMHxqR0Z2JNI,1196544
2
+ polyhedral_gravity-3.2rc1.dist-info/LICENSE,sha256=cZuYeTT-iPE-aCqNISUCPMeVYrp_tMQZaDsaHg1zgrs,37006
3
+ polyhedral_gravity-3.2rc1.dist-info/METADATA,sha256=D_HEaNCyyUHMLYoOG4Alh-zfQJGzCz6FUxRq_4fZJq0,17861
4
+ polyhedral_gravity-3.2rc1.dist-info/WHEEL,sha256=eep6QWEFiQfg2wcclssb_WY-D33AnLYLnEKGA9Rn-VU,100
5
+ polyhedral_gravity-3.2rc1.dist-info/top_level.txt,sha256=bIf9hErNs1GV27AnQWoRTE2j0lRmjhrKI1z-_MTR4Nk,19
6
+ polyhedral_gravity-3.2rc1.dist-info/RECORD,,
Binary file
@@ -1,6 +0,0 @@
1
- polyhedral_gravity.cp39-win_amd64.pyd,sha256=_0w3N0Ygrg5oKAgPSOc-4fhn-52vubC73sBOmAvQ7Fw,1152512
2
- polyhedral_gravity-3.0rc3.dist-info/LICENSE,sha256=cZuYeTT-iPE-aCqNISUCPMeVYrp_tMQZaDsaHg1zgrs,37006
3
- polyhedral_gravity-3.0rc3.dist-info/METADATA,sha256=0tsxWo9PdfYqDEV0ddpHwJL8puq5croKdc041ihDDBg,17591
4
- polyhedral_gravity-3.0rc3.dist-info/WHEEL,sha256=eep6QWEFiQfg2wcclssb_WY-D33AnLYLnEKGA9Rn-VU,100
5
- polyhedral_gravity-3.0rc3.dist-info/top_level.txt,sha256=bIf9hErNs1GV27AnQWoRTE2j0lRmjhrKI1z-_MTR4Nk,19
6
- polyhedral_gravity-3.0rc3.dist-info/RECORD,,