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: Mirror_toroid_pothole

[ Identification | Description | Input parameters | Links ]

The Mirror_toroid_pothole Component

Toroidal shape mirror (in XZ)

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Jul 2016

Description

This is an implementation of a toroidal mirror which may be curved in two dimensions.
To avoid solving quartic equations, the intersection is computed as a combination of
two intersections. First, the ray is intersected with a cylinder to catch (almost) the small
radius curvature. Secondly, the ray is the intersected with an ellipsoid, with the curvatures
matching that of the torus.

The first incarnation (Mirror_toroid.comp) the mirror curves outwards (a bump), but this incarnation (Mirror_toroid_pothole) curves inwards (a pothole).

Example: Mirror_toroid_pothole( radius=0.1, radius_o=1000, xwidth=5e-2, zdepth=2e-1,R0=1, coating="")

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
zdepthmLength of mirror.0.1
xwidthmWidth of mirror.0.01
radiusmCurvature radius
radius_omCurvature radius, outwards
R01Reflectivity of mirror.0
coatingstrDatafile containing either mirror material constants or reflectivity numbers.""
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ 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