[ Identification | Description | Examples | Input parameters | Links ]
Unittest_INHERIT_DIAPHRAGM InstrumentUnit test for whole-component inheritance, see docs/GRAMMAR/ADR-records/ADR_20261007_GRAMMAR_FIXES.md Diaphragm.comp is just "DEFINE COMPONENT Diaphragm INHERIT Slit" + END, so all of its code sections must come from Slit. One unit of intensity is emitted uniformly from a 1x1 m square: - a Slit of 0.5x0.5 m passes 1/4: AfterSlit_I = 0.25 - a Diaphragm of 0.25x0.25 m passes 1/16 of the source: AfterDiaphragm_I = 0.0625 Before the fix, a component inheriting all of its code got none of it, so the Diaphragm let everything through (AfterDiaphragm_I = 0.25).
| Name | Unit | Description | Default |
| Pp0 | 1 | Dummy input parameter used internally | 0 |
Unittest_INHERIT_DIAPHRAGM.instr.
[ Identification | Description | Examples | Input parameters | Links ]
Generated for mcstas 3.10.0