-
Notifications
You must be signed in to change notification settings - Fork 568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Numerical Solution for Wave Attenuation in sea ice #1294
base: develop
Are you sure you want to change the base?
Changes from all commits
0502956
6feed35
97f26f0
644e941
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -809,6 +809,7 @@ MODULE W3GRIDMD | |
! | ||
REAL(8) :: GSHIFT ! see notes in WMGHGH | ||
LOGICAL :: FLC, ICEDISP, TRCKCMPR | ||
LOGICAL :: ICNUMERICS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a nit-picky thing, but do we need both ICNUMERICS and IC_NUMERICS? I feel like the other ice flags have IICESMOOTH and ICESMOOTH. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was following the naming convention for "IC4KI and IC4_KI" - but the MISC namelist settings seem to have the 'extra I' rather than the underscore... we could probably pick either convention. I have no strong opinion on this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is fine, IMO. |
||
INTEGER :: PTM ! Partitioning method | ||
REAL :: PTFC ! Part. cut off freq (for method 5) | ||
REAL :: AIRCMIN, AIRGB | ||
|
@@ -1113,7 +1114,7 @@ MODULE W3GRIDMD | |
STDX, STDY, STDT, ICEHMIN, ICEHINIT, ICEDISP, & | ||
ICESLN, ICEWIND, ICESNL, ICESDS, ICEHFAC, & | ||
ICEHDISP, ICEDDISP, ICEFDISP, CALTYPE, & | ||
TRCKCMPR, PTM, PTFC, BTBET | ||
TRCKCMPR, PTM, PTFC, BTBET, ICNUMERICS | ||
NAMELIST /OUTS/ P2SF, I1P2SF, I2P2SF, & | ||
US3D, I1US3D, I2US3D, & | ||
USSP, IUSSP, STK_WN, & | ||
|
@@ -2765,6 +2766,7 @@ SUBROUTINE W3GRID() | |
STDY = -1. | ||
STDT = -1. | ||
ICEDISP = .FALSE. | ||
ICNUMERICS=.FALSE. | ||
CALTYPE = 'standard' | ||
! Variables for 3D array output | ||
E3D=0 | ||
|
@@ -3035,6 +3037,7 @@ SUBROUTINE W3GRID() | |
IICEHDISP = ICEHDISP | ||
IICEDDISP = ICEDDISP | ||
IICEFDISP = ICEFDISP | ||
IC_NUMERICS=ICNUMERICS | ||
PMOVE = MAX ( 0. , PMOVE ) | ||
PFMOVE = PMOVE | ||
! | ||
|
@@ -3424,7 +3427,7 @@ SUBROUTINE W3GRID() | |
ICEHINIT, ICEDISP, ICEHDISP, & | ||
ICESLN, ICEWIND, ICESNL, ICESDS, & | ||
ICEDDISP,ICEFDISP, CALTYPE, TRCKCMPR, & | ||
BTBETA | ||
BTBETA,ICNUMERICS | ||
ELSE | ||
WRITE (NDSO,2966) CICE0, CICEN, LICE, PMOVE, XSEED, FLAGTR, & | ||
XP, XR, XFILT, IHMAX, HSPMIN, WSMULT, & | ||
|
@@ -3434,7 +3437,7 @@ SUBROUTINE W3GRID() | |
ICEHINIT, ICEDISP, ICEHDISP, & | ||
ICESLN, ICEWIND, ICESNL, ICESDS, & | ||
ICEDDISP, ICEFDISP, CALTYPE, TRCKCMPR,& | ||
BTBETA | ||
BTBETA,ICNUMERICS | ||
END IF | ||
! | ||
#ifdef W3_FLD1 | ||
|
@@ -6833,7 +6836,7 @@ SUBROUTINE W3GRID() | |
', ICESNL = ',F6.2,', ICESDS = ',F5.2,','/ & | ||
' ICEDDISP = ',F5.2,', ICEFDISP = ',F5.2, & | ||
', CALTYPE = ',A8,' , TRCKCMPR = ', L3,','/ & | ||
' BTBET = ', F6.2, ' /') | ||
' BTBET = ', F6.2, ', ICNUMERICS =',L3,' /') | ||
! | ||
2976 FORMAT ( ' &OUTS P2SF =',I2,', I1P2SF =',I2,', I2P2SF =',I3,','/& | ||
' US3D =',I2,', I1US3D =',I3,', I2US3D =',I3,','/& | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be a pointer in both places?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not 100% sure to be honest - I don't understand why some of the namlist settings here are pointers... but other are not... for example, most of the IC4 namelist settings are pointers in both places? but the IICEDISP is only a pointer in one place?