33 SUBROUTINE w_rsph(SPBUF ,NUMSPH_L,CEPSP,PROC,
34 2 VSPHIO,LEN_AM,SSPHVELN_L)
39#include "implicit_f.inc"
44#include "tabsiz_c.inc"
48 INTEGER , PROC, LEN_AM,
49 . cepsp(*),ssphveln_l, stat
53 my_real,
DIMENSION(:),
ALLOCATABLE :: sphveln_l
58 my_real,
DIMENSION(:,:),
ALLOCATABLE
63 ALLOCATE( spbuf_l(nspbuf,numsph_l) )
68 IF(cepsp(i)==proc)
THEN
71 spbuf_l(j,ie_l) = spbuf(j,i)
76 CALL write_db(spbuf_l,numsph_l*nspbuf)
77 len_am = len_am + numsph_l*nspbuf
80 ALLOCATE(sphveln_l(ssphveln_l) ,stat=stat)
81 IF (stat /= 0)
CALL ancmsg(msgid=268,anmode=aninfo,
83 sphveln_l(1:ssphveln_l)=zero
87 len_am = len_am + svsphio + ssphveln_l
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
subroutine w_rsph(spbuf, numsph_l, cepsp, proc, vsphio, len_am, ssphveln_l)