|
|
|
|
![]() |
![]() |
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
About McStas Download Documentation |
14.143 The MCViNE_Phonon_CoherentInelastic_SingleXtal_process McStas ComponentUnion process: Coherent one-phonon scattering from a single crystal, using a full phonon dispersion on a grid.
Identification
DescriptionSingle-crystal coherent one-phonon scattering with dispersion and polarization vectors from MCViNE IDF files (periodic over the reciprocal cell b1,b2,b3 given in Qgridinfo; orient the crystal by rotating the component). For a final direction (4pi, or a cone towards a target when focus_r>0) and a random branch among those with Emin < 1.5 Ei, all final speeds solving omega(Q) = |Ei-Ef| are found (Ridders’ method on nsteps sub-intervals of [0,2vi]); one is chosen and weighted by the delta-function Jacobian, |sum_d b_d/sqrt(M_d) exp(iQ.d)(Q.e_d)|^2, Bose and Debye-Waller factors. Union process. Part of the Union components: define this process, collect it into a material with Union_make_material (absorption is set there with my_absorption, the absorption inverse penetration depth at 2200 m/s), assign the material to Union_box/Union_cylinder/Union_sphere/Union_mesh geometries, and add a Union_master after them. Geometry, attenuation and multiple scattering are handled by Union_master; this component provides the MCViNE kernel: the scattering coefficient and the final-state sampling (weight). Orientation: this process is anisotropic; its frame (Q vectors, reciprocal vectors, atom positions) follows the ROTATED placement of this component. The kernel code is shared with the standalone component MCViNE_Phonon_CoherentInelastic_SingleXtal (mcvine-lib.c). Uses share/mcvine-lib.h/.c and share/mcvine-union-lib.h/.c; the process type MCViNE is declared in share/union-lib.h and registered with Union_master in share/mcvine-union-lib.h. Example: MCViNE_Phonon_CoherentInelastic_SingleXtal_process(idf_dir="MCViNE/fcc_toy_phonons", atoms="MCViNE/fcc_toy_atoms.dat", T=300)
Input parametersParameters in boldface are required; the others are optional.
Links
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||