Conveniently specify a decomposition-centered field

SAF_DECOMP is a macro defined in saf.h.

Synopsis:

SAF_DECOMP(D)

Description: This macro provides a convenient way to specify four of the args, coeff_assoc , assoc_ratio , eval_coll, and eval_func of the saf_declare_field call. Use it when you have a field in which you have 1 degree of freedom for each set in a collection of sets forming a decomposition of their parent set. For example, if you have a collection of sets where each set represents one processor’s piece and you wish to characterize a field that represents the min (or max) of some field over each piece. The argument D is meant to be a collection category for a non-primitive collection of set known to form a decomposition of the set upon which the field is being defined.

See Also: