35 1 AGRV, IGRV, LGRAV, NSENSOR, SENSOR_TAB,
36 2 ITASK, NPC , TF ,SKEW )
55#include
"implicit_f.inc"
63#include "vect01_c.inc"
76 TYPE(python_) ,
INTENT(IN) :: PYTHON
77 INTEGER ,
INTENT(IN) :: NSENSOR
78 INTEGER :: IGRV(NIGRV,*), ITASK,LGRAV(*),NPC(*)
79 my_real :: agrv(lfacgrv,*),tf(*)
84INTEGER :: IADF,IADL,ISENS,N1
89 TYPE (SENSOR_STR_) ,
DIMENSION(NSENSOR) :: SENSOR_TAB
109 n2 = igrv(2,nl)-10*isk
112 iadf = iad+itask*nn/nthread
113 iadl = iad-1+(itask+1)*nn/nthread
117 IF(igrv(6,nl)==sensor_tab(k)%SENS_ID) isens=k
122 ts = tt-sensor_tab(isens)%TSTART
126 IF (ifunc > 0) ismooth = npc(2*nfunct+ifunc+1)
129 IF(ismooth >= 0)
THEN
130 a0 = fcy*finter(ifunc,(ts-dt1)*fcx,npc,tf,dydx)
131 gama = fcy*finter(ifunc,ts*fcx,npc,tf,dydx)
132 ELSE IF (ismooth < 0)
THEN
134 CALL python_call_funct1d(python, ismooth,(ts-dt1)*fcx, a0)
135 CALL python_call_funct1d(python, ismooth,ts*fcx, gama)
151#include "vectorize.inc"
165#include "vectorize.inc"
subroutine alefvm_grav_init(python, agrv, igrv, lgrav, nsensor, sensor_tab, itask, npc, tf, skew)