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

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Powder_process

[ Identification | Description | Input parameters | Links ]

The Powder_process Component

A sample component implementing a powder scattering process

Identification

  • Author: Mads Bertelsen and Erik B Knudsen
  • Origin: ESS DMSC & DTU Physics & United Neux
  • Date: 20.08.15

Description

This Union_process is based on the PowerN.comp component.

Part of the Union components, a set of components that work together and thus
separates geometry and physics within McXtrace.
The use of this component requires other components to be used.

1) One specifies a number of processes using process components like this one
2) These are gathered into material definitions using Union_make_material
3) Geometries are placed using Union_box / Union_cylinder, assigned a material
4) A Union_master component placed after all of the above

Only in step 4 will any simulation happen, and per default all geometries
defined before the master, but after the previous will be simulated here.

There is a dedicated manual available for the Union_components

Algorithm:
Described elsewhere

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflectionsstringInput file for reflections. No scattering if NULL or "" [string]"NULL"
materialstrReflection list for power"NULL"
packing_factor1How dense is the material compared to optimal 0-11
VcAA^3Volume of unit cell=nb atoms per cell/density of atoms.0
delta_d_d0/1Global relative delta_d_d/d broadening when the 'w' column is not available. Use 0 if ideal.0
DW1Global Debye-Waller factor when the 'DW' column is not available. Use 1 if included in F20
nb_atoms1Number of sub-unit per unit cell, that is ratio of sigma for chemical formula to sigma per unit cell1
densityg/cm^3Density of material. rho=density/weight/1e24*N_A.0
weightg/molAtomic/molecular weight of material.0
barns1Flag to indicate if |F|^2 from 'reflections' is in barns or fm^2 (barns=1 for laz, barns=0 for lau type files).1
StrainppmGlobal relative delta_d_d/d shift when the 'Strain' column is not available. Use 0 if ideal.0
interact_fraction1How large a part of the scattering events should use this process 0-1 (sum of all processes in material = 1)-1
formatno quotesName of the format, or list of column indexes (see Description).{0, 0, 0, 0, 0, 0, 0, 0, 0}
mat_formatvectorList order in reflection list file{0,0,0,0,0}
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Examples | Input parameters | Links ]

Generated on mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 21:43:07 CET
Search website mailinglist archive GitHub repos