File: README

package info (click to toggle)
mccode 3.5.19%2Bds5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,113,256 kB
  • sloc: ansic: 40,697; python: 25,137; yacc: 8,438; sh: 5,405; javascript: 4,596; lex: 1,632; cpp: 742; perl: 296; lisp: 273; makefile: 226; fortran: 132
file content (50 lines) | stat: -rw-r--r-- 1,726 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
This is the documentation directory of McStas

It contains the User and Component Manuals.
Additionally, the 'mcdoc' (mcdoc.pl on Windows)  tool may be used with the syntax:

Usage: mcdoc [options] <dir|file>
   -f    --force   Force re-writing of existing HTML doc locally
   -h    --help    Show this help
   -l    --tools   Display the McStas tools list
   -m    --manual  Open the McStas manual
   -s    --show    Open the generated help file using the BROWSER env. variable
   -t    --text    For single component, display as text
   -w    --web     Open the McStas web page http://neutron.risoe.dk/mcstas/
SEE ALSO: mcstas, mcdoc, mcplot, mcrun, mcgui, mcresplot, mcstas2vitess
DOC:      Please visit http://www.mcstas.org/

For instance, to access the McStas web site, type:

  mcdoc --web

To access the McStas User Manual, type

  mcdoc --manual

To browse the component library, type

  mcdoc --show

Finally, to display the help for a single component, type for instance

  mcdoc Guide.comp

or

  mcdoc --text Guide.comp

Except for the last example, all mcdoc calls will requires BROWSER to be defined.
Usually, BROWSER is set as 'netscape', 'konqueror', 'safari', nautilus', etc

The list of available McStas Tools is

   mcstas        Main instrument compiler
   mcrun         Instrument maker and execution utility
   mcgui         Graphical User Interface instrument builder
   mcdoc         Component library documentation generator/viewer
   mcplot        Simulation result viewer
   mcdisplay     Instrument geometry viewer
   mcresplot     Instrument resolution function viewer
   mcstas2vitess McStas to Vitess component translation utility
When used with the -h flag, all tools display a specific help.