you can remove this code:
#ifdef SWAN_COUPLING
Infinity=one/zero
#endif
Hi Warner,
Thank you for your help! I removed the code and that error has been fixed.But there comes another error as follows. It seems failure in reading SWAN grid because of uninitialized variable. It is my first time to ...
Search found 2 matches
- Fri Jun 17, 2016 10:07 pm
- Forum: ROMS Bugs
- Topic: Infinity=one/zero
- Replies: 6
- Views: 11485
- Fri Jun 17, 2016 6:51 am
- Forum: ROMS Bugs
- Topic: Infinity=one/zero
- Replies: 6
- Views: 11485
Re: Infinity=one/zero
Yes, there are several ways for computing infinity in Fortran. I coded the easier one. It can get trickier when computing infinity in 64 bits. Many compilers do this differently. It will be nice when there is a systematic way to deal with infinity, NaN, and others in any Fortran compiler. This is ...