Hi,
I'm finishing up coupling the Catchment model to
the LIS code, and I need to pass couple of values
from the lis.crd file to the main routine. Currently,
these values are in an include file, but this method
requires re-compilation of the LIS executable when
just changing the value in the lis.crd file would be
easier and preferable.
The problem is that the values I need to pass are
dimension sizes of arrays I need to declare, and I
can't just declare the array in this method:
real, save :: arrayname(catchdrv%CATCH_CONTNT)
where CATCH_CONTNT is the number of catchments
in the simulation. Also, a few variables I need to "save"
the values between calls to the main routine, and the
code doesn't seem to want to compile when declaring
an array to be saved dimensioned with a passed variable.
Any ideas?
David
PS - I'd consider this to have the highest priority of my
3 support requests. I want to get this
working right soon.