[ Identification | Description | Input parameters | Links ]
MCViNE_ConstantQE ComponentScattered neutrons have energy transfer E and |Q| fixed; the azimuth around ki is random. S(Q,E) = delta(|Q|-Q0) delta(E-E0) (unnormalised, as in MCViNE). Transport (same as MCViNE HomogeneousNeutronScatterer): on the first passage the neutron is forced to scatter at a uniformly chosen depth, weighted by path length, attenuation exp(-(mu+sigma)x) and the scattering coefficient; on exit it is attenuated by exp(-(mu+sigma)L_out). With order>1 further scatterings are sampled analogically (truncated exponential). With p_transmit>0 that fraction of events is kept as the attenuated direct beam. mu(v) = absorption_coefficient*2200/v. Events for which the kernel cannot scatter (kinematically forbidden) are absorbed. Geometry: box (xwidth,yheight,zdepth), cylinder (radius,yheight), hollow cylinder (+thickness) or sphere (radius only). All vectors (Q, targets, reciprocal vectors, atom positions) are in the component's local frame. Uses the shared runtime share/mcvine-lib.h/.c. Example: MCViNE_ConstantQE(Q=3, E=20, scattering_coefficient=10, xwidth=0.02, yheight=0.05, zdepth=0.002)
| Name | Unit | Description | Default | |
| Q | AA^-1 | Momentum transfer |Q| | 1 | |
| E | meV | Energy transfer | 0 | |
| absorption_coefficient | m^-1 | Absorption coefficient at 2200 m/s (MCViNE convention; scales as 1/v) | 0 | |
| scattering_coefficient | m^-1 | Scattering coefficient | 0 | |
| sigma_abs | barn | Alternative: absorption cross section per unit cell at 2200 m/s (used when Vc>0) | 0 | |
| sigma_scat | barn | Alternative: scattering cross section per unit cell (used when Vc>0) | 0 | |
| Vc | AA^3 | Unit cell volume; when >0, coefficients are computed from sigma_abs, sigma_scat | 0 | |
| radius | m | Outer radius of a cylinder (with yheight) or of a sphere (yheight=0) | 0 | |
| xwidth | m | Width of a box sample | 0 | |
| yheight | m | Height of a box or cylinder sample | 0 | |
| zdepth | m | Depth of a box sample | 0 | |
| thickness | m | Wall thickness of a hollow cylinder (0: filled) | 0 | |
| pack | 1 | Packing factor (scales absorption and scattering coefficients) | 1 | |
| p_transmit | 1 | Monte Carlo fraction of events kept as unscattered transmitted beam (0: always scatter) | 0 | |
| order | 1 | Maximum number of scattering events per neutron (1: single scattering) | 1 |
| AT ( | , | , | ) RELATIVE | |||
|---|---|---|---|---|---|---|
| ROTATED ( | , | , | ) RELATIVE |
MCViNE_ConstantQE.comp.
[ Identification | Description | Examples | Input parameters | Links ]
Generated on mcstas 3.9.2