modern-fortran / tsunami

A parallel shallow water equations solver
https://modern-fortran.github.io/tsunami
MIT License
149 stars 47 forks source link

Print correct time step #18

Closed usshmah closed 2 years ago

usshmah commented 2 years ago

On line https://github.com/modern-fortran/tsunami/blob/d325ec5779461b56ae0714c4e068e056fa3fda16/src/ch02/tsunami.f90#L55 you print zero for each time step. It should be print fmt, n, h instead.

milancurcic commented 2 years ago

Indeed, thanks for reporting it! This was introduced in https://github.com/modern-fortran/tsunami/commit/2440f85332f0e03390fe1fc152c0e7765082a919 in a bad case of copy paste.