McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Mailing list

Links

Search

Code-repository (GitHub)

Report bugs (GitHub)


McXtrace: Laue_crystal_BC

[ Identification | Description | Input parameters | Links ]

The Laue_crystal_BC Component

Perfect, Laue crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)

Identification

  • Site:
  • Author: Marcus H Mendenhall, NIST
  • Origin: NIST
  • Date: June, 2017

Description

NIST_Laue_crystal_BC.comp is written by Marcus H. Mendenhall, NIST, Gaithersburg, MD, USA
It is based on the full vector math and exact solution  of the dispersion relation in
Batterman and Cole, Reviews of Modern Physics 36 number 3, page 681, July 1964
Perfect crystal with common cubic structures (diamond, fcc, or bcc, and others if symmetry form factor multipliers provided explicitly)

Reads atomic form factors from a data input file.
The Laue_Crystal code reflects rays in an ideal geometry, does not include surface imperfections or mosaicity.

The crystal is positioned such that the long axis of the crystal surface coincides with
z-axis and the outer normal to the crystal surface is along +y.

The ratio of the transmitted beam and forward-diffracted Borrman-effect beam is a hack.  The sum of the
two is exactly right, but the actual ratio depends critically on geometry, and I just put in a wild estimate
to allow one to demonstrate what the Borrmann effect looks like. If this is turned on, the displacement of the
transmitted beam and forward diffracted beam at the back side of the crystal will be correctly computed.
This displacement is only exact for symmetrical Laue; asymmetrical computation requires more effort,
and is probably not worth it.
The sampling of these processes are controlled by the 3 variables transmission_sampling, forward_diffraction_sampling,
and Laue_sampling. Since 99% of uses of this will have the transmitted beam turned off, and use Laue diffraction mode,
the values should be just 0,0,1. If the general behavior of the transmitted beams
is interesting, use 1,1,1 which samples all beams equally.  Results weights are adjusted for this,
so computed intensities won't be affected.

Non-copyright notice:
Contributed by the National Institute of Standards and Technology; not subject to copyright in the United States.
This is not an official contribution, in that the results are in no way certified by NIST.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
lengthmzdepth (length) of the crystal.0.05
widthmwidth of the crystal.0.02
thicknessmthickness of crystal (along y-axis, the surface normal)1e-4
VAA^3unit cell volume160.1826
form_factors "FormFactors.txt" from McXtrace install, usually"FormFactors.txt"
material Si ("Si.txt"), Ge ("Ge.txt")"Si.txt"
alphax x component of normal (unit vector) to crystal planes. Vector is usually [0,0,1] for symmetric Laue. Crystal surface itself has normal [0,1,0].0.0
alphay y component of normal (unit vector) to crystal planes.0.0
alphaz z component of normal (unit vector) to crystal planes.1.0
debye_waller_BAA^2Debye-Waller temperature factor, M=B*(sin(theta)/lambda)^2*(2/3), default=silicon at room temp, 0.46320.4632
crystal_type 1 => Mx_crystal_explicit: provide explicit real and imaginary form factor multipliers structure_factor_scale_r, structure_factor_scale_i,1
h 1st Miller index of reflection1
k 2nd Miller index of reflection1
l 3rd Miller index of reflection1
structure_factor_scale_r real part of complex explicit override of structure factor multiplier for crystal structure if Bragg_crystal_explicit0.0
structure_factor_scale_i imaginary part of complex explicit override of structure factor multiplier for crystal structure if Bragg_crystal_explicit0.0
transmission_sampling enable sampling of transmission diffraction mode.1.0
forward_diffraction_sampling enable sampling of forward diffraftion mode.1.0
laue_sampling enable sampling of Laue diffraction mode.1.0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links

  • Source code for Laue_crystal_BC.comp.
  • material datafile obtained from http://physics.nist.gov/cgi-bin/ffast/ffast.pl

[ Identification | Description | Input parameters | Links ]

Generated on mcxtrace 3.5.24


Last Modified: Sunday, 06-Apr-2025 20:25:04 CEST
Search website mailinglist archive GitHub repos