Hello all,
I am troubleshooting an error with a case that involves imposing spectra from an offshore model to a coastal one (similar to the impose_spectra example). I have pinpointed the issue at line 222, trunk version):
where division by zero occurs. The problem originates at line 210:
IF((BC_X(IPOIN).EQ.0.0).AND.(BC_Y(IPOIN).GE.0.0))THEN
BC_NF=BC_NF+1
In my spectrum file BC_X(IPOIN) is never equal to 0.0 so BC_NF stays 0 as originally declared in line 204. Here is the list of the BC_coordinates:
Is there a problem with my spectrum file structure? I do not have a means to visualise the spectrum it is not easy to troubleshoot. Can anyone provide more insight into the issue? Any help would be greatly appreciated.
Best Regards,
Costas
PS. I cannot attach the spectrum file (probable because it is quite large ~6mb), so I will need to find another way to upload.