mcdoc
Farhi
farhi at ill.fr
Fri Mar 3 11:44:47 CET 2000
Hy Kristian,
Well I'm pleased to see that the Monitor_nD appears usefull to you. As a
matter of fact, I made it emulate all the available monitors in McStas 1.2
I also checked it for various combinaisons, but these are so numerous that
bugs may appear latter. If you think about neutron variables that I forgot,
please tell me.
For the official documentation, I don't mind writing it in LaTeX style.
Just give me the format.
My future projects concerning components include the following :
1- I will continue to use an option string, parsed inside the component.
This enables plenty of options with a high verbosity (option really
describes what will be done) and versatility. It reduces the input
parameters, for wich one does not require to know the C identification
name. On the contrary, for future McStas versions evaluating C expressions
for numerical parameters, it won't work. I 'll think about that...
2- I'm planing to also create a kind of generic source, extending the
Flux_adapter, the same manner as Monitor_nD. some work
3- My Optimizer will be modified in order that one may use more that 1
optimisation point (for sequential optimization along instrument). rather
easy
4- In the Monitor_nD I will add the possibility to handle a detection
efficiency. easy
5- I plan to write a simple amorphous phonon sample using an external
dispersion curve record. This is simple but requires some work
For the common component ressources, I will try to install that this
afternoon.
Thanks.
PS : When will be the next release of McStas (with optional/default params,
string param, sub-directory libs...)
EF.
Kristian Nielsen wrote:
> Hi Emmanuel,
>
> Thanks for the comments. They were as always very useful, and I have
> implemented all of them now (if you find something missing, please let
> me know).
>
> Your generic monitor is very interesting, and I am sure that it will
> prove very useful. I am really hoping that you will write some
> documentation in the same style as all the official components in the
> McStas manual, so that I can include it in the next official
> release. You do not have to use LaTeX, I will convert it for you from
> whatever format you prefer to use.
>
> I have also implemented a method for sharing our component libraries. We
> need to set up a special directory on a web server at each institute
> participating (currently only Risø and ILL). This directory contains
> ONLY the source code for the components to be shared (ie. my directory
> contains the official components, your directory contains the rest). I
> have written a small shell script,
>
> http://neutron.risoe.dk/mcstas/support/farhi/builddocs.sh
>
> This script automatically downloads the component source codes from each
> web server into common subdirectories. It then downloads the newest
> mcdoc program from the Risø server and re-builds all the documentation.
>
> On mica, I have set up a demonstration in the /home/cs/nielsen/mcdoc/
> directory. The command
>
> ./builddocs.sh
>
> will download all components and build the web pages. Because of the
> firewall, it is necessary to first execute
>
> setenv http_proxy proxy.ill.fr:8888
>
> What you need to do is to set up a directory on your web server and keep
> it updated with the newest source codes for the components you want to
> share. Then we can both use the builddocs.sh script to create a single
> component page with all components that are automatically kept
> synchronized. What do you think?
>
> Finally, with regard to the mcgui crash on SGI. From yours and Ron's
> emails, I got the impression that this problem was solved with the new
> Perl installation, is this correct?
>
> - Kristian.
>
> --
> Kristian Nielsen kristian.nielsen at risoe.dk
> Risø National Laboratory
> Condensed Matter Physics and Chemistry Department
> Tel. +45 4677 5515 Fax +45 4677 4790
> Encryption PGP key http://neutron.risoe.dk/kn.txt
--
Emmanuel FARHI, http://www.ill.fr/tas/people/Farhi.html \|/ ____ \|/
TAS-Group, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
Avenue J. Horowitz, 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20000303/5b5fecf4/attachment.html>
More information about the mcstas-users
mailing list