Optimizing McStas
Farhi
farhi at ill.fr
Wed Sep 22 17:32:36 CEST 1999
Great !
please feel free to add kw_monitor to mcstas.
I'm really looking forward to see how you did implement your optimisation.
Can you put your adaptator in front of any component (in case user wants to
optimize flux on sample or final detector for instance). What kind of source
is it (rectangular, flat... ?). I guess you included a minimum and maximum
weight, in order not to completely delete bad neutrons (who knows, they can
perhaps reach detector sometimes...).
You choosed to use a 3D matrix for sampling neutron characteristics. This is
ok, and enables to take correlated parameters into account.
I was rather thinking about :
1- optimize x,y,vx,vy,vz and adapt p as required
2- use separate 1D arrays for each state parameter (limits would be
determined in a 1st phase (say 5% of ncounts). This means that parameters are
considered completely independent. It's a choice, but it enables fast
sampling, and low memory cost for any parameter number to be optimized. I
think it's ok if the minimum weight for bad neutrons is not 0 (say 10 % of
bad neutrons are kept)
3- a separate component from source and monitor. This would enable user to
select any kind of source, and optimize flux anywhere.
4- bad neutrons would be ABSORBed, this would lead to a new source shot.
Cheers again ! EF.
--
Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/
TAS-Group, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
Avenue des Martyrs, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 83. Fax (33/0) 4 76 48 39 06 \__U_/
La Grande Arche, Chateau d'Uriage, 38410 Saint Martin d'Uriage 04 76 59 73 94
More information about the mcstas-users
mailing list