Purpose : To enter a result attribute definition.
Parameters :
In
ANAME | Attribute name (Character*8) |
NCOMPS | Number of components (Integer) |
RTYPE |
Entity type to which components are attributed (Integer) 1 Nodal materially independent 2 Nodal materially dependent 3 Element at nodes 4 Element at Gauss points 5 Element, constant for element |
NUMVAR | Number of record variants (Integer) |
IUNT | Temporary file channel number (Integer) |
Out | |
IEXIT | Error condition (Integer) |
Use: This routine is called immediately after routine DIHED for all User-defined results data sets. It must be used in conjunction with routine DIRHB and optionally with routine DIRHC to enter the additional sub-headers necessary to define a results data set. This routine is called to define a result attribute. The definition consists of the attribute name, the number of results
components for this attribute, the type of results which are to follow, and the number of record variants.
For complex results, confusion can arise over the number of results components that are to be input. If the user wishes to enter data in the form of 3 complex components, NCOMPS should be set to 3 here, and then routine DIRHC called 3 times. When one then enters the data (for each node using DINIA for example), NUMRES must be set to 6, in this case. The 6 values would be entered in the following order:
r1(real), r1(imag), r2(real), r2(imag), r3(real), r3(imag)
Errors : The error condition is indicated by the value of IEXIT.
IEXIT | Meaning |
0 | Successful call | |
32 | Current error must be cleared up first | |
129 | Error in writing to temporary file on unit (iunt) | |
156 | Cannot enter results, current dataset is : (KEY ) | |
157 | Attribute header already entered | |
182 | Invalid results type (irtype) | |
183 | Invalid number of components (ncomps) | |
184 | Invalid number of attribute variants (numvar) | |
211 | Invalid temporary file unit number (iunt) |