cccccccccccccccx_np=x(np)y_np=y(np)z_np=z(np)do i=1,nbbody(ir_np)nozone=ABS(nbzone(i,ir_np))jty=itblty(nozone)kno=itblno(nozone)rpp checkif(jty.eq.ityknd(1)) thenif(kno.le.0.or.kno.gt.irppin) go to 190call rpp<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)sph checkelseif(jty.eq.ityknd(2)) thenif(kno.le.0.or.kno.gt.isphin) go to 190call sph<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)rcc checkelseif(jty.eq.ityknd(3)) thenif(kno.le.0.or.kno.gt.irccin) go to 190call rcc<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)trc checkelseif(jty.eq.ityknd(4)) thenif(kno.le.0.or.kno.gt.itrcin) go to 190call trc<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)tor checkelseif(jty.eq.ityknd(5)) thenif(kno.le.0.or.kno.gt.itorin) go to 190call tor<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)rec checkelseif(jty.eq.ityknd(6)) thenif(kno.le.0.or.kno.gt.irecin) go to 190call rec<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)ell checkelseif(jty.eq.ityknd(7)) thenif(kno.le.0.or.kno.gt.iellin) go to 190call ell<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)wed checkelseif(jty.eq.ityknd(8)) thenif(kno.le.0.or.kno.gt.iwedin) go to 190call wed<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)box checkelseif(jty.eq.ityknd(9)) thenif(kno.le.0.or.kno.gt.iboxin) go to 190call box<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)arb checkelseif(jty.eq.ityknd(10)) thenif(kno.le.0.or.kno.gt.iarbin) go to 190call arb<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)hex checkelseif(jty.eq.ityknd(11)) thenif(kno.le.0.or.kno.gt.ihexin) go to 190call hex<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)haf checkelseif(jty.eq.ityknd(12)) thenif(kno.le.0.or.kno.gt.ihafin) go to 190call haf<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)tec checkelseif(jty.eq.ityknd(13)) thenif(kno.le.0.or.kno.gt.itecin) go to 190call tec<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)gel checkelseif(jty.eq.ityknd(14)) thenif(kno.le.0.or.kno.gt.igelin) go to 190call gel<strong>cg</strong>1(kno,x_np,y_np,z_np,u_np,v_np,w_np)cc**** add new geometry in herecend if190 continueend docirnear=ir_npif(itvalm.eq.0) thentval0=<strong>cg</strong>eps1xidd=x_np+tval0*u_np61
ccyidd=y_np+tval0*v_npzidd=z_np+tval0*w_np310 continueif(x_np.ne.xidd.or.y_np.ne.yidd.or.z_np.ne.zidd) goto 320tval0=tval0*10.d0xidd=x_np+tval0*u_npyidd=y_np+tval0*v_npzidd=z_np+tval0*w_npgo to 310320 continuewrite(*,*) 'srzone:1'call srzone(xidd,yidd,zidd,iq_np,ir_np,irnext)if(irnext.ne.ir_np) thentval=0.0d0irnear=irnextelsetval00=0.0d0tval10=10.0d0*tval0irlold=ir_npirlfg=0330 continueif(irlfg.eq.1) go to 340tval00=tval00+tval10if(tval00.gt.1.0d+06) thenwrite(6,9000) iq(np),ir(np),x(np),y(np),z(np),&u(np),v(np),w(np),tval009000 format(' TVAL00 ERROR : iq,ir,x,y,z,u,v,w,tval=',& 2I3,1P7E12.5)stopend ifxidd=x_np+tval00*u_npyidd=y_np+tval00*v_npzidd=z_np+tval00*w_npcall srzold(xidd,yidd,zidd,irlold,irlfg)go to 330340 continuecctval=tval00do j=1,10xidd=x_np+tval00*u_npyidd=y_np+tval00*v_npzidd=z_np+tval00*w_npwrite(*,*) 'srzone:2'call srzone(xidd,yidd,zidd,iq_np,irlold,irnext)if(irnext.ne.irlold) thentval=tval00irnear=irnextend iftval00=tval00-tval0end doif(ir_np.eq.irnear) thenwrite(0,*) 'ir(np),tval=',ir_np,tvalend ifend ifelsedo j=1,itvalm-1do i=j+1,itvalmif(atval(i).lt.atval(j)) thenatvaltmp=atval(i)atval(i)=atval(j)atval(j)=atvaltmpendifenddoenddoitvlfg=0tvalmn=tvaldo jjj=1,itvalmif(tvalmn.gt.atval(jjj)) thentvalmn=atval(jjj)end ifdelhow=<strong>cg</strong>eps2tval0=atval(jjj)+delhowxidd=x_np+tval0*u_npyidd=y_np+tval0*v_npzidd=z_np+tval0*w_np410 continueif(x_np.ne.xidd.or.y_np.ne.yidd.or.z_np.ne.zidd) go to 420delhow=delhow*10.d0tval0=atval(jjj)+delhow62
- Page 1 and 2:
KEK Internal 2011-5December 2011R/D
- Page 3 and 4:
Lecture Notes ofResponse calculatio
- Page 5 and 6:
3 Details of user code 313.1 Main p
- Page 7 and 8:
1 Combinatrial Geometry (CG)2 Combi
- Page 9 and 10:
ody 3 2 body + ; OR B23A1Figure 2
- Page 11 and 12:
Z4 +4Z5 +5 -3Z6 +6 -5END1 0 2 3 4 0
- Page 13 and 14:
end if! ==============call block_se
- Page 15 and 16: ! pdf data for many sourcedeltae=0.
- Page 17 and 18: ! ---------------------------------
- Page 19 and 20: sigph=dsqrt((ph2s(ie)-avph*avph)/nc
- Page 21 and 22: 6 6.1 NaI 1. Cs-137 (0.662MeV) 2.
- Page 23 and 24: ekein=1.253ekein=1.333{ ! ---------
- Page 25 and 26: ROuter vacuum (region 6)Air region
- Page 27 and 28: nmed=2 medarr(1)='NAImedarr(2)='ALm
- Page 29 and 30: ROuter vacuum (region 4)Air region
- Page 31 and 32: EGS5 sample user code (ucnaicgv.f)R
- Page 33 and 34: operator, it means that the region
- Page 35 and 36: 2 Outlines of sample user code uccg
- Page 37 and 38: include 'auxcommons/edata.f'include
- Page 39 and 40: The material assignment is read in
- Page 41 and 42: ! Write batch numberwrite(39,fmt="(
- Page 43 and 44: ! ---------------------------------
- Page 45 and 46: a distance to the boundary of regio
- Page 47 and 48: { Add sampling routines for source
- Page 49 and 50: ROuter vacuum (region 6)Air region
- Page 51 and 52: to* xi0,yi0,zi0,avab,depes,depe2s,s
- Page 53 and 54: ROuter vacuum (region 4)Air region
- Page 55 and 56: Appendix: Full listings of ucnaicgv
- Page 57 and 58: open(39,FILE='egs5job.pic',STATUS='
- Page 59 and 60: write(6,140)140 FORMAT(/,' HATCH-ca
- Page 61 and 62: ilines = ilines + 1write(6,280) eto
- Page 63 and 64: * 14X,' Positron')do ie=1,50elow=de
- Page 65: ! ---------------------------------