Page 1 of 1

How to access variable in subroutine...

PostPosted: Wed Feb 03, 2016 4:04 am
by sdegan
I want to edit a module file, in this case module_vash_settling.F, and need to access a wind vector to do this. When I look up the variable name in Registry.EM_COMMON, this variable is titled "u".

This variable is not passed to the vash_settling_driver that module_vash_settling.F contains. How can I initialize this variable so that I can use it in the code? I thought I could script this with grid%u(i,k,j) but I run into a compilation error.

Thanks in advance for any advice!