Dear FLUKA experts,
As far as i understood from the manual, in order to create diffuse reflection on the surface for optical photons, I should use ‘frghns.f’ user routine. I’m a little bit confused about region definition, namely MREG and NEWREG variables. Let’s say I have a geometry (picture 1) where I have two regions filled with two media. The source of optical photons is situated in Region 1. Region 1 is a Vacuum. The source emits optical photons in the direction of Region 2. The Region 2 is a diffuse mirror (solid piece of metal). I want to create a diffuse reflection on the mirror surface. With respect to this case which region should be considered MREG and which region should be considered NEWREG?
Thank you in advance. I attached my version of ‘frghns.f’ user routine for this case. Is it correct?
frghns.f (1.2 KB)