Opened 15 years ago

Closed 15 years ago

#284 closed defect (Fixed)

Use of boundary arrays

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.2
Component: Nonlinear Version: 3.2
Keywords: Cc:

Description

The boundary arrays are now strictly defined and allocated when they are really needed. There are several internal options to do so:

EAST_FSOBC, WEST_FSOBC, SOUTH_FSOBC, NORTH_FSOBC
EAST_M2OBC, WEST_M2OBC, SOUTH_M2OBC, NORTH_M2OBC
EAST_M3OBC, WEST_M3OBC, SOUTH_M3OBC, NORTH_M3OBC
EAST_TOBC,  WEST_TOBC,  SOUTH_TOBC,  NORTH_TOBC

These C-preprocessing options are defined in globaldefs.h and there is not need for the user to manually activate them. However, it is wise to use them in the analytical routines ana_fsobc.h, ana_m2obc.h, ana_m3obc.h, and ana_tobc.h. Sometimes anlytical expressions are coded but not used when playing with various set-ups in the test problems.

There are couple of messages in the forum reporting compilation problems with unused analytical expressions. Using the above options in such expressions solve such compilation errors.

Change History (1)

comment:1 by arango, 15 years ago

Resolution: Fixed
Status: newclosed
Note: See TracTickets for help on using tickets.