File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
mcstas-comps/examples/Tests_grammar/Unittest_ALLOW_BACKPROP Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1212* Unittest for ALLOW_BACKPROP macro
1313*
1414* %Description
15- * Unittest to ensure that the macro ALLOW_BACKPROP works correctly
15+ * Unittest to ensure that the macro ALLOW_BACKPROP works correctly.
16+ *
17+ * The test instrument includes two monitors, with a selectable ALLOW_BACKPROP in between.
18+ * The second monitor is placed physically "earlier" than the first, but logically after.
19+ *
20+ * 1) With Backprop=0 the second monitor (closer to the source) should yield a signal of 0
21+ * 2) With Backprop=1 the second monitor should measure a signal since backpropagation is allowed
1622*
1723* %Example: Backprop=0 Detector: PSDcloser_I=0
1824* %Example: Backprop=1 Detector: PSDcloser_I=0.099
You can’t perform that action at this time.
0 commit comments