gp.extra

Syntax

a := gp.extra(gp<,index>)
gp.extra(gp<,int>) := a

Get/set the extra variable at the index associated with the gridpoint. An extra variable can be of any valid FISH parameter type.

Returns:

a - the FISH parameter stored at the index of the gridpoint extra array

Accepts:

a - the FISH parameter to store at the index of the gridpoint extra array

Arguments:

gp - a zone gridpoint pointer

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