A generic format consists of two parts, a required header containing keyword specifications and an optional body, typically containing array data. The header is always terminated by the end-header keyword. The header provides information about how many lines and fields are to be read, as well as any other flags or scalars associated with the data. Comment lines beginning with the "#" character are ignored. In fact, any header line that does not begin with a keyword is ignored. However, after the end-header keyword, comments are not allowed.
This data format gives the single crystal model information; it consists entirely of header information; header keywords are:
This is the format for orientations; it has both a header and a body; the header keywords are:
The body consists of data for each orientation. The number of fields depends on the parameterization and whether weights and hardnesses need to be read. The order is always the parameters followed by the weights followed by the hardnesses. The data for an orientation can be spread across multiple lines.
This is the format used for tensors; primarily, it used for stress, strain rate and velocity gradient; of interest are the decomposition into symmetric, skew-symmetric, deviatoric and spherical parts; the header indicates the number of tensors to be read/written and the type of tensor; header keywords are:
The body consists of the values of the tensor components, and the number and meaning of these values depends on the type. For a spherical tensor, there is just one value, one third the trace. For a skew, there are three values which are the components of the axial vector. For deviatoric, there are five values which are the components in a particular orthonormal basis. For symmetric, there are six values corresponding to components (1,1), (2,1), (2,3), (3,1), (3,2), (3,3). For a general tensor, there are nine values forming the usual matrix.