File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ static long mcstartdate = 0; /* start simulation time */
6161static int mcdisable_output_files = 0 ; /* --no-output-files */
6262mcstatic int mcgravitation = 0 ; /* use gravitation flag, for PROP macros */
6363mcstatic int NTOF = 0 ; /* Number of TOF "sub-particles" in a TOF_TRAIN */
64+ #ifdef TOF_TRAIN
65+ NTOF = 10 ; /* Default to 10 TOF "sub-particles" in a TOF_TRAIN */
66+ #endif
6467mcstatic int mcusedefaults = 0 ; /* assume default value for all parameters */
6568mcstatic int mcdotrace = 0 ; /* flag for --trace and messages for DISPLAY */
6669mcstatic int mcnexus_embed_idf = 0 ; /* flag to embed xml-formatted IDF file for Mantid */
@@ -4517,6 +4520,9 @@ mchelp(char *pgmname)
45174520" kernel run (default: 2147483647)\n"
45184521"\n"
45194522#endif
4523+ #ifdef TOF_TRAIN
4524+ " -- tof - trains = K Number of TOF \"sub - particles \" (default 10)\n"
4525+ #endif
45204526"\n"
45214527" --bufsiz Monitor_nD list/buffer-size (default: 1000000)\n"
45224528" --format=FORMAT Output data files using FORMAT="
You can’t perform that action at this time.
0 commit comments