c********************************************************************** c subroutine erodin c********************************************************************** subroutine erodin ( i i_unit, o_unit) c c +++ PURPOSE +++ c Utility to read initial conditions and variables from c input file (stdin or eros.ipt) for the standalone erosion submodel c c +++ ARGUMENT DECLARATIONS +++ c integer i_unit, o_unit c c +++ ARGUMENT DEFINITIONS +++ c c c +++ PARAMETERS +++ c integer mrcl parameter (mrcl = 132) c c +++ ARGUMENT DECLARATIONS & +++ c + + + GLOBAL COMMON BLOCKS + + + *$noreference include 'p1werm.inc' C include 'p1unconv.inc' include 'p1const.inc' include 'm1sim.inc' include 'm1flag.inc' include 'm1subr.inc' include 'm1geo.inc' c include 'c1gen.inc' include 'b1glob.inc' c include 'b1geom.inc' include 's1layr.inc' include 's1phys.inc' include 's1dbh.inc' include 's1agg.inc' include 's1surf.inc' include 's1sgeo.inc' include 'h1db1.inc' include 'w1wind.inc' include 'w1pavg.inc' *$reference c c + + + LOCAL COMMON BLOCKS + + + c integer debugflg common /flags/ debugflg c c +++ LOCAL VARIABLES +++ integer i,j,k integer x,y,s,b,a,l,h integer wflg real f(mntime), wfcalm, wuc, w0k, step, wu(mntime) c c + + + LOCAL VARIABLE DEFINITIONS + + + c i, j, k = do-loop indices c x,y,s,b,a,l,h = do-loop indices c wflg = flag to determine format of wind speed data (0 = Weibull, 1 = real) c debugflg = flag to output debug data (0 = none, 1 = input, 2 = more, etc.) c f(mntime) = cumulative frequency of wind at speeds