HPCSys-Lab / simwave

Simulates the propagation of the acoustic wave using the finite difference method in 2D and 3D domains.
GNU General Public License v3.0
39 stars 13 forks source link

add accuracy test #26

Closed joao-bapdm closed 3 years ago

joao-bapdm commented 3 years ago

Add a short unit test checking:

The test assures that the numerical solution is at least as good as it was in f9ad7ec:

for accuracy: image for time convergence: image for space convergence: image

krober10nd commented 3 years ago

You could set up a circle ci system by adding a folder and file like so

https://github.com/krober10nd/SeismicMesh/blob/master/.circleci/config.yml

Note that I test several of the recent major release Python versions which is typical in unit testing. At a minimum 3.9 needs to be tested.

jaimesouza commented 3 years ago

You could set up a circle ci system by adding a folder and file like so

https://github.com/krober10nd/SeismicMesh/blob/master/.circleci/config.yml

Note that I test several of the recent major release Python versions which is typical in unit testing. At a minimum 3.9 needs to be tested.

Great! I will do that.