PHASTA / vtkpytools

Internal tools for using VTK
https://fluid.colorado.edu/wiki/index.php/VTKpytools
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

fix: Make getGeometricSeries output geometric progression #41

Closed jrwrigh closed 3 years ago

jrwrigh commented 3 years ago

getGeometricSeries output a geometric series, while a geometric progression was actually desired (ie. we want the difference between samples to grow geometrically, not the value of the samples themselves).

Previously, we were calculating the progression as: image

Instead, what was really meant was: image

Example: image

This pull request fixes the error and updates the docstring to reflect the changes.