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)


The Mirror_urved McXtrace Component

6.1  The Mirror_curved McXtrace Component

A cylindrically curved mirror (in YZ)

Identification

  • Author: Erik Knudsen

  • Origin: Risoe

  • Date: September 25th, 2009

Description

mirror is in the YZ-plane curved towards positive X if radius is positive

Example: Mirror_curved( radius=2, length=20e-3, width=40e-3, coating=”AlMgF2_disco.dat”)

Input parameters

Parameters in boldface are required; the others are optional.

Name

Unit

Description

Default

radius

m

Radius of curvature, along Z.

1

R0

1

Constant reflectivity value (mostly relevant for debugging, when coating=””).

1

coating

str

Name of file containing the material data (i.e. f1 and f2) for the coating

”Be.txt”

zdepth

m

Length of the unbent mirror along Z.

0.2

yheight

m

Width of the mirror along Y.

0.2

length

m

Length of the unbent mirror along Z = zdepth

0

width

m

Width of the mirror along Y = yheight

0

Links

  • Component source code found in file Mirror_curved.comp.

Cylindrically curved mirror

Models a cylindrical mirror, positioned in the XZ-plane curving towards positive X. The input parameter radius defines the radius of curvature and the mirror size is given by length and width where length and width is along Z and Y respectively. coating and R0 are mutually exclusive. If R0 is nonzero, it is taken as the reflectivity value, irrespective of wavelength, whereas coating nominates a file from which to read values for \(f_1\) and \(f_2\). See [Nis] for definitions. For elements \(Z\in [1,92]\) datafiles are distributed with the McXtrace system that may be used as: coating="Rh.txt". or coating="Al.txt".

This component is scheduled to be merged with Mirror_parabolic and Mirror_elliptic


Last Modified: Monday, 05-Oct-2026 10:48:07 CEST
Search website mailinglist archive GitHub repos