Opened 17 years ago

Closed 17 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:

https://www.myroms.org/projects/cstm/changeset/1152/branches/rps_branch/cstm_trunk/ROMS/Utility/inp_par.F

-Rich

Change History (1)

comment:1 by arango, 17 years ago

Resolution: Fixed
Status: newclosed

Yes, good catch.

Note: See TracTickets for help on using tickets.