| 1 |
C Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 2 |
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
C NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
C |
| 5 |
C See packages/seacas/LICENSE for details |
| 6 |
subroutine getattnam(ndb, nelblk, id, numatr, names) |
| 7 |
include 'gp_namlen.blk' |
| 8 |
integer ndb, nelblk |
| 9 |
integer id(*) |
| 10 |
integer numatr(*) |
| 11 |
character*(maxnam) names(*) |
| 12 |
|
| 13 |
ibeg = 1 |
| 14 |
do iel = 1, nelblk |
| 15 |
if (numatr(iel) .gt. 0) then |
| 16 |
call exgean(ndb, id(iel), numatr(iel), names(ibeg), ierr) |
| 17 |
end if |
| 18 |
ibeg = ibeg + numatr(iel) |
| 19 |
end do |
| 20 |
|
| 21 |
return |
| 22 |
end |
| 23 |
|
| 24 |
subroutine putattnam(ndb, nelblk, id, numatr, names) |
| 25 |
include 'gp_namlen.blk' |
| 26 |
integer ndb, nelblk |
| 27 |
integer id(*) |
| 28 |
integer numatr(*) |
| 29 |
character*(maxnam) names(*) |
| 30 |
|
| 31 |
ibeg = 1 |
| 32 |
do iel = 1, nelblk |
| 33 |
if (numatr(iel) .gt. 0) then |
| 34 |
call expean(ndb, id(iel), numatr(iel), names(ibeg), ierr) |
| 35 |
end if |
| 36 |
ibeg = ibeg + numatr(iel) |
| 37 |
end do |
| 38 |
|
| 39 |
return |
| 40 |
end |