34
36
37
38
39#include "implicit_f.inc"
40
41
42
45 TYPE(DETONATOR_WAVE_SHAPER_STRUCT_),TARGET ::DETONATOR_WAVE_SHAPER
46
47
48
49# "scr11_c.inc"
50#include "com04_c.inc"
51
52
53
54 INTEGER,POINTER,DIMENSION(:) :: IECR, IORDR, IFLG
55 my_real,
POINTER,
DIMENSION(:) :: dtime
56 INTEGER J, I, II, NPE
58
59
60
61 INTEGER,EXTERNAL :: IOMBR
62
63
64 npe=detonator_wave_shaper%NUMNOD
65 iecr => detonator_wave_shaper%NODES(1:npe)
66 iordr => detonator_wave_shaper%IORDR(1:npe)
67 dtime => detonator_wave_shaper%TIME(1:npe)
68
69
70
71
72
73
74
75
76
77 ddmx=ep20
78 IF(
iombr(detonator_wave_shaper,x,iecr,ddmx,vdet) == 0)
RETURN
79
80
81
82
83 dtos=ep20
84
85 npe=detonator_wave_shaper%NUMNOD
86 DO j=1,npe
87 i=iordr(j)
88 ii=iecr(i)
89 yd=x(2,ii)
90 zd=x(3,ii)
91 dto0=dtime(i)
92 IF(
iombr(detonator_wave_shaper,x,iecr,ddmx,vdto) == 0)
THEN
94 ENDIF
95 END DO
96
97 dto=dtos
98
99 RETURN
integer function iombr(detonator_wave_shaper, x, iecr, ddmx, vdet_arg)