Function NAME
Returns the alphabetically first group that contains the specified element. Internal group names are mapped to external group names with the subroutine LONGNAME.
Calling convention:
group = name(elemlabel)
Variable name | Data type | Description |
---|---|---|
Return value | ||
group
|
Character*7 | The first group that contains the specified element. |
Arguments | ||
elemlabel
|
Integer | The input value of the internal label of the element. |
Example:
integer elemlabel, length, id
character*7 group
character *80 fullgroup
C
C Function declarations
C
character*7 name
..
C
C Error printout
C
group = name(elemlabel)
call longname(group, fullgroup, id, length, 1)
print *,' There is a problem with element ',iconv(elemlabel),
+ ' in group ', fullgroup
..