31 SUBROUTINE c_dampvrel(DAMPR,IGRNOD,PROC,IDAMP_VREL,NDAMP_VREL_L,
32 . NGRNOD,NDAMP,NRDAMP)
40#include "implicit_f.inc"
44 INTEGER,
INTENT(IN) :: PROC,NGRNOD,NDAMP,NRDAMP
45 INTEGER,
INTENT(INOUT) :: NDAMP_VREL_L,IDAMP_VREL(NDAMP)
46 my_real,
INTENT(IN) :: dampr(nrdamp,ndamp)
47 TYPE (GROUP_),
DIMENSION(NGRNOD),
INTENT(IN) :: IGRNOD
60 IF (nint(dampr(21,i)) == 2)
THEN
61 igr = nint(dampr(2,i))
63 DO j = 1,igrnod(igr)%NENTITY
64 IF (nlocal(igrnod(igr)%ENTITY(j),proc)==1)
THEN
69 ndamp_vrel_l = ndamp_vrel_l +1
70 idamp_vrel(i) = ndamp_vrel_l
subroutine c_dampvrel(dampr, igrnod, proc, idamp_vrel, ndamp_vrel_l, ngrnod, ndamp, nrdamp)