fengyanshi / FUNWAVE-TVD

43 stars 51 forks source link

Update mixing.F #56

Open mcpaprota opened 1 year ago

mcpaprota commented 1 year ago

There was a bug in WaveHeightAve and WaveHeightRMS calculations. Namely, the number of zero-up crossings and wave heights did not match. Num_Zero_Up in the denominator should be decreased by one.