#include "implicit_f.inc"
#include "mvsiz_p.inc"
#include "vect01_c.inc"
#include "com01_c.inc"
#include "param_c.inc"
#include "sphcom.inc"
Go to the source code of this file.
|
| subroutine | sphres44b (kxsp, ixsp, nod2sp, iparg, spbuf) |
◆ sphres44b()
| subroutine sphres44b |
( |
integer, dimension(nisp,*) | kxsp, |
|
|
integer, dimension(kvoisph,*) | ixsp, |
|
|
integer, dimension(*) | nod2sp, |
|
|
integer, dimension(nparg,*) | iparg, |
|
|
| spbuf ) |
Definition at line 28 of file sphres44b.F.
30
31
32
33#include "implicit_f.inc"
34
35
36
37#include "mvsiz_p.inc"
38
39
40
41#include "vect01_c.inc"
42#include "com01_c.inc"
43#include "param_c.inc"
44#include "sphcom.inc"
45
46
47
48 INTEGER
49 . KXSP(NISP,*),IXSP(KVOISPH,*),NOD2SP(*),
50 . IPARG(NPARG,*)
51
53 . spbuf(nspbuf,*)
54
55
56
57 INTEGER N,IG,NG,I,OFFSET,NEL
58
59
60
61 DO ng=1,ngroup
62 nel=iparg(2,ng)
63 nft=iparg(3,ng)
64 ity=iparg(5,ng)
65 DO ig= 1,nel,mvsiz
66 offset = ig - 1
67 lft=1
68 llt=
min(mvsiz,nel-offset)
69 IF(ity==51)THEN
70 DO i=lft,llt
71 n =i+nft
72 IF(spbuf(9,n)>zero)THEN
73 kxsp(1,n) =0
74 kxsp(2,n) =ng
75 spbuf(9,n)=zero
76 ENDIF
77 ENDDO
78 ENDIF
79 ENDDO
80 ENDDO
81
82 RETURN