supermirrors

Dr. Ralph Gilles Ralph_Gilles at Physik.TU-Muenchen.DE
Fri Apr 23 17:11:58 CEST 1999


Hello Kristian,

thanks a lot. It is working very well.
Georg and I tested the guide and it works very perfect. But in the input
file first line:
DEFINE COMPONENT GUIDE"3" instead of "2" is necessary. :-)

greetings,   Ralph



> > example in detail. mv = 0 has still reflectivity because of R0 = 1.0. If
> > I would like to calculate a supermirror with mh = 3 and a non reflecting
> > material mv for the sidewalls (it make sense to check the contribution
> 
> For this, you should modify the Guide2 component to always absorb when
> m=0 (it is a very simple change). I have included some untested code
> below, could you try it and let me know if it works (so I can put it on
> the web page)?
> 
> The only change is the added lines
> 
>     if((i <= 2 && mv == 0) || (i > 2 && mh == 0))
>       ABSORB;
> 
>  - Kristian.
>





More information about the mcstas-users mailing list