flux-sources

Kristian Nielsen kristian.nielsen at risoe.dk
Wed Jun 16 08:45:53 CEST 1999


> Date: Mon, 14 Jun 1999 18:52:06 +0200
> From: Daniel Berger <Daniel_Berger at Physik.TU-Muenchen.DE>

> - What is the meaning of the parameter mccount in the Source_flux.comp -
> file?

This is an old (and undocumented) way to get the number of neutron
histories to simulate (the value specified on the command line as -n or
--ncount). From McStas version 1.1, this should be written as
mcget_ncount() (as explained in the manual).

> -  I would like to calculate fluxes with the Source_div_file. How can I
> realize it?

(I assume you are referring to the "Source_div" component in the
standard component library in McStas 1.1? Or are you using another
component that I do not know about?)

The component Source_div unfortunately does not correctly handle
absolute flux. Is there any reason why you cannot use the Source_flux
instead?

One option is to put a Monitor_flux component just after the Source_div
to measure the actual flux from the source, and then adjust the
intensities appropriately.

It would also be possible to come up with a formula for the flux from
the Source_div component, and then modify the component to handle flux
correctly just like the Source_flux component. If you want I will be
happy to help you with this.

 - Kristian.




More information about the mcstas-users mailing list