#include "implicit_f.inc"
#include "task_c.inc"
#include "com04_c.inc"
Go to the source code of this file.
|
| subroutine | donerwl (irwl, nerwl, nprw) |
◆ donerwl()
| subroutine donerwl |
( |
integer | irwl, |
|
|
integer | nerwl, |
|
|
integer, dimension(*) | nprw ) |
Definition at line 28 of file donerwl.F.
29
30
31
32#include "implicit_f.inc"
33
34
35
36#include "task_c.inc"
37#include "com04_c.inc"
38
39
40
41 INTEGER IRWL,,
42 . NPRW(*)
43
44
45
46 INTEGER N2, N3, N4, ITYP
47
48
49 IF (ispmd/=0) GOTO 100
50
51 n2=irwl+nrwall
52 n3=n2+nrwall
53 n4=n3+nrwall
54 ityp= nprw(n4)
55 IF(iabs(ityp)==1)THEN
56 nerwl = nerwl + 1 + 1
57 ELSEIF(ityp==2)THEN
58 nerwl = nerwl + 24 + 1
59 ELSEIF(ityp==3)THEN
60 nerwl = nerwl + 216 + 1
61 ELSEIF(ityp==4)THEN
62 nerwl = nerwl + 1 + 1
63 ENDIF
64
65 100 CONTINUE
66 RETURN