I suppose this is more of a C-header file question, but:
I'm computing the total water depth at any horizontal location as
Code: Select all
abs(z_w(i,j,N(ng))-z_w(i,j,0))
how would I import the z_w variable?
I've trying locally declaring it (failed), I've tried using the extern keyword (failed).
Any guidance would be appreciated.
Thanks!
-aryan