I have the following error during compilation. I should invoke 'knew' parameter explicitly. Is this parameter kept under mod_stepping?
fortcom: Error: analytical.f90, line 719: The shapes of the array expressions do not conform. [VAL1]
val1=fac*(OCEAN(ng) % zeta(i,Jend,knew)+GRID(ng) % h(i,Jend)+ &
--------^
Where is 'knew'
Re: Where is 'knew'
The error isn't about knew. Usually when I get this error, I'm missing a (ng) somewhere. Say val1 is a scalar and something on the right-hand-side is a vector. I can't see the whole right-hand-side, so I can't tell what the problem is.