Opened 18 years ago
Last modified 18 years ago
#24 closed bug
BL_TEST case suffering from bit rot — at Initial Version
Reported by: | m.hadfield | Owned by: | arango |
---|---|---|---|
Priority: | minor | Milestone: | Release ROMS/TOMS 3.1 |
Component: | Nonlinear | Version: | 3.1 |
Keywords: | Cc: |
Description
The BL_TEST case appears to lack some preprocessor macros that it needs. The macro ANA_WWAVE is defined, but there is a compiler error on the source in ana_wwave.h. See below.
Should this case be updated or deleted?
The error: in ana_wwave.h the following code is specified
#if defined BL_TEST
wdir=210.0_r8*deg2rad DO j=JstrR,JendR
DO i=IstrR,IendR
Hwave(i,j)=0.5_r8 Dwave(i,j)=wdir Pwave(i,j)=8.0_r8
END DO
END DO
#elif ...
however Hwave is available only if WAVES_HEIGHT is defined (which it isn't), Dwave is available only if BBL_MODEL or NEARSHORE_MELLOR is defined (which they aren't), and Pwave appears to have been replaced by Pwave_top and Pwave_bot.