Opened 18 years ago
Closed 18 years ago
#96 closed bug (Fixed)
Bug in inp_par.F for sediment runs with no cohesive sediment
Reported by: | rsignell | Owned by: | arango |
---|---|---|---|
Priority: | critical | Milestone: | Release ROMS/TOMS 3.1 |
Component: | Nonlinear | Version: | 3.1 |
Keywords: | Cc: |
Description
There is a bug in inp_par.F for sediment runs with no cohesive sediment classes, in other words, with only non-cohesive classes.
When the sediment input file is being read, NEWLAYER_THICK and BEDLOAD_COEF should be independent of the type of sediment (mud or sand). But they are currently being read into a temporary variable called "Rmud" which, of course, it dimensioned to be 0 when there are no mud classes.
My fix was to introduce a class-independent temporary variable called "Rbed" that is a function of NG only. See my change at:
-Rich
Note:
See TracTickets
for help on using tickets.
Yes, good catch.