Opened 13 years ago
Closed 13 years ago
#556 closed defect (Fixed)
falling off end of Cval in decode_line — at Version 1
Reported by: | kate | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Release ROMS/TOMS 3.6 |
Component: | Nonlinear | Version: | 3.6 |
Keywords: | Cc: |
Description (last modified by )
I've got a biological model with more than 25 tracers. The reading of LBC fails after the 25th with Nval getting larger than 100, since Nval is four times the tracer number (four values per tracer). There's a Cval array dimensioned 100 in decode_line. I can change that to 200 in decode_line, but then I'll have to track down that 100 up the chain...
Change History (1)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Resolution: | → Fixed |
Status: | new → closed |
Type: | bug → defect |
Note:
See TracTickets
for help on using tickets.
Indeed, there is a problem here if we have a model with more than 25 additional tracers. None of the models that we distribute have that many tracers except EcoSim. However, we do not expect any application that requires different boundary conditions for each of EcoSim passive tracers. In this case, we use the compact specification for LBC. For example, for East-West periodic application, we will have:
ROMS will internally assigns the same boundary conditions for all passive tracer since we just specified a single line in the standard input script.
I followed your recommendation and I increased the value of Cval to 200.