13.07.2015 Views

Lecture Notes of Dose distribution calculation inside phantom with ...

Lecture Notes of Dose distribution calculation inside phantom with ...

Lecture Notes of Dose distribution calculation inside phantom with ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

! ------------------------------------! Output particle information for plot! ------------------------------------if (ncount.le.maxpict) thencall plotxyz(iarg,np,iq(np),x(np),y(np),z(np),e(np),ir(np),* w(np))end ifreturnend2.12 subroutine howfarhowfar howfar (idisc=1) ucxyz <strong>phantom</strong>.f voxel howfar subroutine howfarimplicit noneinclude 'include/egs5_h.f'include 'include/egs5_epcont.f'include 'include/egs5_stack.f'include 'auxcommons/aux_h.f'include 'auxcommons/geoxyz.f'include 'auxcommons/instuf.f'real*8* dist,dnearlinteger* irl,irx,iry,irzirl = ir(np)! Main EGS "header" file! COMMONs required by EGS5 code! Auxiliary-code "header" fileif (irl .le. 0) thenwrite(6,*) 'Stopped in howfar <strong>with</strong> irl

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!