Field component interleave modes¶
SAF_Interleave
is a collection of related C preprocessor symbols defined in saf.h.
Synopsis:
SAF_BLOCKED
: An alias for SAF__INTERLEAVE_COMPONENT
.
SAF_INTERLEAVED
: An alias for SAF__INTERLEAVE_VECTOR
.
Description: When fields have multiple components, the components can be stored in the field’s blob in different ways relative to each other. For example, in a 3D coordinate field, we will have 3 components for the x, y and z components of each coordinate. These can be stored as three different component fields or as a single composite field. If they are stored as a single composite field, they may be stored interleaved or non-interleaved.
The SAF__INTERLEAVE_``* constants are defined by the ``ss_interleave_t
enumeration type. In addition we define
aliases SAF__BLOCKED
and SAF__INTERLEAVED
.
See Also:
- Datatypes: Introduction for current chapter