block.gp.extra

Syntax

a = block.gp.extra(bgpp<,i>)
block.gp.extra(bgpp<,i>) = a

Get/set the data stored in the extra variable at index i for a gridpoint. The value in an extra variable can by any valid FISH type.

Returns:

a - value

Accepts:

a - value

Arguments:

bgpp - block gridpoint pointer
i - the optional index of the extra variable to set or retrieve. Can be from 1 to 128. If not specified, 1 is assumed.