ASSUMED SHAPE

From WikiROMS
Jump to navigationJump to search
ASSUMED_SHAPE
Internal option to declare all global arrays as assumed-shape where their size, bounds, and shape are associated with pointers. Imported arrays with dummy arguments that takes the shape of the actual argument passes to it. If not activated, all the arrays are of explicit-shape. In some computers the explicit-shape arrays slow down performance because the arrays are copied when passed as arguments.
routine = globaldefs.h