geoscience-community-codes / tephra2

Tephra2 is a tephra dispersion simulation tool, used to estimate the mass of tephra that will accumulate at a site or over a region, given explosive eruption conditions.
https://gscommunitycodes.usf.edu/geoscicommunitycodes/public/tephra2/tephra2.php
GNU General Public License v3.0
13 stars 11 forks source link

Test bench #4

Open joshlvmh opened 3 years ago

joshlvmh commented 3 years ago

Hi,

I was wondering if there was a test bench or similar available that was used during the creation of tephra2 that verifies expected outputs. I am trying to vectorise some of the loops within the source code and wanted to make sure the output is still correct.

Thank you.

ljc-geo commented 3 years ago

I don't think so, There has been lots of editing and testing during code creation. Exactly what kind of data are you looking for?

joshlvmh commented 3 years ago

Something that tests the expected outputs of key functions, or instead a set of examples testing edge cases and extremes and then an acceptable threshold for comparing subsequent runs to the expected output? Thank you for your reply!