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
40 stars 13 forks source link

add setter to dt #24

Closed joao-bapdm closed 3 years ago

joao-bapdm commented 3 years ago

A simple setter for the timestep dt. Needed for testing the converge order in time.

jaimesouza commented 3 years ago

Originally dt is calculated on the SpaceModel class (which has all necessary information to apply cfl). In this case the setter (and all related updates) should be done in that class. The TimeModel class should ramain unchanged, because it only reflectes the information in SpaceModel.dt

joao-bapdm commented 3 years ago

Ok, the setter is in SpaceModel now.