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:
- HMRES_NODALDISPLACEMENTS, if the data type should store nodal displacements.
- HMRES_NODALVALUES, if the data type should store nodal values.
- HMRES_ELEMENTVALUES, if the data type should store element values.
- 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.
- 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.
- 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.
- 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.
- 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.