block.field.method.index

Syntax

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 1 = constant, 2 = volume-weighted averaging, 3 = inverse-distance-weighted averaging, and 4 = polynomial fit. See block.field.method.name. The default value is 1.

Returns:

i - extrapolation method index

Accepts:

i - extrapolation method index