i = block.field.method.index()
block.field.method.index() = i

Get/set the index number of the extrapolation method used for block zone-based variables.

This has no effect on gridpoint-based variables. The indices corresponding to names are 0 = constant, 1 = volume-weighted averaging, 2 = inverse-distance-weighted averaging, and 3 = polynomial fit. See The default value is 0.

Returns:i - extrapolation method index
Accepts:i - extrapolation method index