HMRES_argumentassign()

Assigns arguments to the hmreslib program.

Syntax

void HMRES_argumentassign(int index, char * datatypename, char * argumentname, int type);

Type

HyperMesh hmreslib Function

Description

Assigns arguments to the hmreslib program.

Inputs

Index
The index number of the argument to be assigned. The index can be any integer greater than or equal to zero. Assign indexes in sequence; previous index numbers should already be defined.
datatypename
The name associated with that argument, i.e., displacements, stresses, reaction forces.
argumentname
The name of the argument being assigned.
type
The type of the argument being assigned. Types include:
  1. HMRES_ARGUMENT_TYPE_SELECTABLE, for arguments which you may select.
  2. HMRES_ARGUMENT_TYPE_AUTOSELECTABLE, for arguments which are automatically set if no options are selected.
  3. HMRES_ARGUMENT_TYPE_USER, for arguments which must be resolved by you. Refer to the functions: HMRES_argumentuserparsefunction(), HMRES_argumentuserprintfunction(). This type requires that a user-defined function parse the argument list.
  4. HMRES_ARGUMENT_TYPE_USER_FILE, for file arguments which must be resolved by you. Refer to the functions: HMRES_argumentuserparsefunction(), HMRES_argumentuserprintfunction(). This type requires that a user-defined function parse the argument list.

Errors

None.