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

[ Identification | Description | Input parameters | Links ]

The Mirror_toroid Component

Toroidal shape mirror

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 compited 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.

In the first incarnation we assume the mirror to be curving outwards (a bump).

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
reflec""
zdepth0.1
xwidth0.01
radius
radius_o
R00
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2023-12-19 19:37:45


Last Modified: Thursday, 16-May-2024 15:56:15 CEST
Search website mailinglist archive GitHub repos