Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mcstas-comps/examples/ILL/ILL_H22_D1B/ILL_H22_D1B.instr
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ if (verbose) {
printf("* Sample: '%s' in Al cryostat.\n", Powder);
}

/* Ensure that we are running with at least 1e7 neutrons if not 'displaying' */
if (!mcdotrace) {
if (mcget_ncount()<1e7) {
MPI_MASTER(printf("This instrument needs higher statistics to converge. Increasing your ncount=%llu to 1e7\n",mcget_ncount()));
mcset_ncount(1e7);
}
}
%}

/* Here comes the TRACE section, where the actual */
Expand Down
Loading