[neutron-mc] Not-vacuum neutron guide

Emmanuel Farhi farhi at ill.fr
Tue Oct 5 12:11:15 CEST 2004


Hello Timur,

this is not implemented indeed.
Anyway, if you wish to add an absorption law in guides, one solution is to use
the EXTEND keyword, e.g.:
COMPONENT MyGuide = Guide( ... , length=value)
AT ...
EXTEND
%{
/* absorption law as a function of parameter 'length' */
p *= f(length, cross_section, ...)
%}

Emmanuel.

Timur Elzhov wrote:

> Hello, dear McStas experts.
>
> I was asked is it possible to compute not-vacuum (say, filled
> with argon or air) neutron guide in McStas?
>
> Thanks.
>
> --
> WBR,
> Timur.
> _______________________________________________
> neutron-mc mailing list
> neutron-mc at risoe.dk
> http://neutron.risoe.dk/mailman/listinfo/neutron-mc

--
What's up Doc ?
--------------------------------------------
Emmanuel FARHI, http://www.ill.fr/Computing/people/Farhi  \|/ ____ \|/
CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble  ~@-/ oO \-@~
6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France  /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 20 76 48     \__U_/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20041005/35891e5e/attachment.html>


More information about the mcstas-users mailing list