- DMC McStas simulation working
SKIPPED: psi/amorstat.c psi/nxamor.c psi/pimotor.c psi/polterwrite.c
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* %I
|
||||
* Written by: Kim Lefmann
|
||||
* Date: Feb 3, 1998
|
||||
* Version: $Revision: 1.1 $
|
||||
* Version: $Revision: 1.2 $
|
||||
* Origin: Risoe
|
||||
* Release: McStas 1.6
|
||||
*
|
||||
@@ -118,24 +118,10 @@ TRACE
|
||||
%}
|
||||
SAVE
|
||||
%{
|
||||
DETECTOR_OUT_2D(
|
||||
"PSD monitor",
|
||||
"X position [cm]",
|
||||
"Y position [cm]",
|
||||
xmin*100.0, xmax*100.0, ymin*100.0, ymax*100.0,
|
||||
nx, ny,
|
||||
&PSD_N[0][0],&PSD_p[0][0],&PSD_p2[0][0],
|
||||
filename);
|
||||
%}
|
||||
|
||||
MCDISPLAY
|
||||
%{
|
||||
magnify("xy");
|
||||
multiline(5, (double)xmin, (double)ymin, 0.0,
|
||||
(double)xmax, (double)ymin, 0.0,
|
||||
(double)xmax, (double)ymax, 0.0,
|
||||
(double)xmin, (double)ymax, 0.0,
|
||||
(double)xmin, (double)ymin, 0.0);
|
||||
%}
|
||||
|
||||
END
|
||||
|
||||
Reference in New Issue
Block a user