33 SUBROUTINE spwfvis(SPBUF, IPARTSP, PARTSAV, IPARG, ELBUF_TAB,
43#include "implicit_f.inc"
47#include "vect01_c.inc"
55 INTEGER IPARTSP(*), IPARG(NPARG,*), KXSP(NISP,*), WASPACT(*)
56 my_real spbuf(nspbuf,*) , partsav(npsav,*)
57 TYPE (ELBUF_STRUCT_),
TARGET,
DIMENSION(NGROUP) :: ELBUF_TAB
61 INTEGER N,IPRT, NG, NEL, NS
64 TYPE(g_bufel_) ,
POINTER :: GBUF
71 spbuf(10,n)=spbuf(10,n)+dt05*spbuf(11,n)
75 ng=mod(kxsp(2,n),ngroup+1)
76 gbuf => elbuf_tab(ng)%GBUF
78 2 mtn ,nel ,nft ,iad ,ity ,
79 3 npt ,jale ,ismstr ,jeul ,jtur ,
80 4 jthe ,jlag ,jmult ,jhbe ,jivf ,
81 5 nvaux ,jpor ,jcvt ,jclose ,jplasol ,
82 6 irep ,iint ,igtyp ,israt ,isrot ,
83 7 icsen ,isorth ,isorthg ,ifailure,jsms )
86 gbuf%EINT(n-nft) = gbuf%EINT(n-nft)
87 . - dt12*spbuf(11,n)/
max(em20,volo)
89 partsav(1,iprt)=partsav(1,iprt)-dt12*spbuf(11,n)
subroutine initbuf(iparg, ng, mtn, llt, nft, iad, ity, npt, jale, ismstr, jeul, jtur, jthe, jlag, jmult, jhbe, jivf, mid, jpor, jcvt, jclose, jpla, irep, iint, igtyp, israt, isrot, icsen, isorth, isorthg, ifailure, jsms)
subroutine spwfvis(spbuf, ipartsp, partsav, iparg, elbuf_tab, kxsp, waspact)