DecompFlag

class ESMF.api.constants.DecompFlag

This flag indicates how object are distributed across the available computational resources.

DEFAULT = <DecompFlag.DEFAULT: 0>

Use default decomposition behavior. Currently equal to ‘BALANCED’.

BALANCED = <DecompFlag.BALANCED: 1>

Decompose elements as balanced as possible. The maximum difference in number of elements per DE is 1, with the extra elements on the lower DEs.

RESTFIRST = <DecompFlag.RESTFIRST: 2>

Divide elements over DEs. Assign the rest of this division to the first DE.

RESTLAST = <DecompFlag.RESTLAST: 3>

Divide elements over DEs. Assign the rest of this division to the last DE.

CYCLIC = <DecompFlag.CYCLIC: 4>

Decompose elements cyclically across DEs.