Skip to content

Commit

Permalink
fixes for PR NOAA-EMC#5
Browse files Browse the repository at this point in the history
  • Loading branch information
alperaltuntas committed Nov 19, 2022
1 parent 5b5ce40 commit 261844d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 6 additions & 0 deletions model/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ add_compile_definitions(W3_IS0)
add_compile_definitions(W3_REF0)
add_compile_definitions(ENDIANNESS="big_endian")

set_property(SOURCE w3initmd.F90
APPEND
PROPERTY COMPILE_DEFINITIONS
"__WW3_SWITCHES__=\'\'"
)

# Note that w3iogocdmd is a new file for netcdf io
# Set source files
set(SRCFILES constants.F90
Expand Down
9 changes: 0 additions & 9 deletions model/src/w3sic4md.F90
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,6 @@ SUBROUTINE W3SIC4 (A, DEPTH, CG, IX, IY, S, D)
#ifdef W3_T1
USE W3ARRYMD, ONLY: OUTMAT
#endif
#ifdef W3_CESMCOUPLED
USE W3IDATMD, ONLY: ICEI
#endif
!
IMPLICIT NONE
!/
Expand Down Expand Up @@ -354,9 +351,6 @@ SUBROUTINE W3SIC4 (A, DEPTH, CG, IX, IY, S, D)
KARG2 = 0.0
KARG3 = 0.0
WN_I = 0.0
#ifdef W3_CESMCOUPLED
iceconc = 0.0
#endif
ALPHA = 0.0
ICECOEF1 = 0.0
ICECOEF2 = 0.0
Expand Down Expand Up @@ -385,9 +379,6 @@ SUBROUTINE W3SIC4 (A, DEPTH, CG, IX, IY, S, D)
IF (INFLAGS2(-5)) ICECOEF3 = ICEP3(IX,IY)
IF (INFLAGS2(-4)) ICECOEF4 = ICEP4(IX,IY)
IF (INFLAGS2(-3)) ICECOEF5 = ICEP5(IX,IY)
#ifdef W3_CESMCOUPLED
IF (INFLAGS2(4)) iceconc = ICEI(IX,IY)
#endif

! Borrow from Smud (error if BT8 or BT9)
#ifdef W3_BT8
Expand Down

0 comments on commit 261844d

Please sign in to comment.