HMRES_datatypecreate()

Creates a data type.

Syntax

int HMRES_datatypecreate(char * datatypename, int form);

Type

HyperMesh hmreslib Function

Description

Creates a data type.

Inputs

datatypename
The name of the data type to be created.
form
The form of the data type. This determines the type of data being stored in the data type. Select the data type from the following:
  1. HMRES_NODALDISPLACEMENTS, if the data type should store nodal displacements.
  2. HMRES_NODALVALUES, if the data type should store nodal values.
  3. HMRES_ELEMENTVALUES, if the data type should store element values.
  4. HMRES_COMPLEXNODALDISPLACEMENTS, if the data type should store displacement results (a triplet in x, y, and z) as three complex numbers at each node. Use HMRES_complexdisplacementadd() to add results to a data type of this form.
  5. HMRES_COMPLEXNODALVALUES, if the data type should store results as one complex number at each node. Use HMRES_complexvalueadd() to add results to a data type of this form.
  6. HMRES_COMPLEXELEMENTVALUES, if the data type should store results as one complex number at each element. Use HMRES_complexvalueadd() to add results to a data type of this form.
  7. HMRES_COMPLEXNODALVONMISES, if the data type should store the square of VonMises stress as a complex number at each node. Use HMRES_complexvonmisesadd() to add results to a data type of this form.
  8. HMRES_COMPLEXELEMENTVONMISES, if the data type should store the square of VonMises stress as a complex number at each element. Use HMRES_complexvonmisesadd() to add results to a data type of this form.

Example

Zero, if successful; otherwise, nonzero.

The datatypename is presented when the data type to be post-processed is selected.

Errors

None.