File: Virtual_output.tex

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 (20 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\section{Virtual\_output: Saving the first part of a split simulation}
\label{s:virtual-output}
\index{Sources!Virtual source, recording photon events}
\mcdoccomp{misc/Virtual_output.parms}

The component \textbf{Virtual\_output} stores the photon ray parameters
at the end of the first part of a split simulation. The idea is to let the
next part of the split simulation be performed by another instrument file,
which reads the stored photon ray
parameters by the component \textbf{Virtual\_input}.

All photon ray parameters are saved to the output file, which is by default
of ``text'' \textit{type}, but can also assume the binary formats
``float'' or ``double''. The storing of photon rays continues until the
specified number of simulations have been performed.

\textit{buffer-size} may be used to limit the size of the output file, but
absolute intentities are then likely to be wrong.
Exept when using MPI, we recommend to use the default value of zero, saving all photon rays.
The size of the file is then controlled indirectly with the general \textit{ncounts} parameter.