Hi,
I am working on creating a new set of module to add into a chem directory. Similar to how module_ghg_fluxes.F was incorporated. I am particularly interested in using variables from module_sf_sfclay.F such as FLQC, MAVAIL, and UST. This maybe more of a general Fortran question. When I create my new module, is there a specific declaration that must be done to use the same variables used in a different module? I currently have it so that I declare the allocation again at the top of my module.
To clarify,
I want to use UST,FLQC,MAVAIL which are declared in phys/module_sf_sfclay.F to chem/my_own_module.F.
Thank you for your help.
Best,
Parker
I am working on creating a new set of module to add into a chem directory. Similar to how module_ghg_fluxes.F was incorporated. I am particularly interested in using variables from module_sf_sfclay.F such as FLQC, MAVAIL, and UST. This maybe more of a general Fortran question. When I create my new module, is there a specific declaration that must be done to use the same variables used in a different module? I currently have it so that I declare the allocation again at the top of my module.
To clarify,
I want to use UST,FLQC,MAVAIL which are declared in phys/module_sf_sfclay.F to chem/my_own_module.F.
Thank you for your help.
Best,
Parker