Exodus 7.21

Typedefs | Enumerations
Variables controlling the compression, name size, and integer size.

## Typedefs
typedef enum ex_option_type | ex_option_type

## Enumerations
enum | ex_option_type { EX_OPT_MAX_NAME_LENGTH, EX_OPT_COMPRESSION_TYPE, EX_OPT_COMPRESSION_LEVEL, EX_OPT_COMPRESSION_SHUFFLE, EX_OPT_INTEGER_SIZE_API, EX_OPT_INTEGER_SIZE_DB }

## Detailed Description

## Typedef Documentation

## ◆ ex_option_type

typedef enum ex_option_type ex_option_type

## Enumeration Type Documentation

## ◆ ex_option_type

enum ex_option_type

Modes for ex_set_option()

The compression-related options are only available on netcdf-4 files since the underlying hdf5 compression functionality is used for the implementation. The compression level indicates how much effort should be expended in the compression and the computational expense increases with higher levels; in many cases, a compression level of 1 is sufficient.

Enumerator
EX_OPT_MAX_NAME_LENGTH | Maximum length of names that will be returned/passed via api call.
EX_OPT_COMPRESSION_TYPE | Not currently used; default is gzip
EX_OPT_COMPRESSION_LEVEL | In the range [0..9]. A value of 0 indicates no compression
EX_OPT_COMPRESSION_SHUFFLE | 1 if enabled, 0 if disabled
EX_OPT_INTEGER_SIZE_API | 4 or 8 indicating byte size of integers used in api functions.
EX_OPT_INTEGER_SIZE_DB | Query only, returns 4 or 8 indicating byte size of integers stored on the database.