Conversely, a finite element method (FEM) can be easily applied to a deformed mesh and serves very well to the purpose of modelling any incident wave on an arbitrarily shaped entrance surface 7 e.g. that of a bent crystal or a crystal submitted to a strong heat load 8-10. For instance, the cylindrical shape of the surface of a strongly bent crystal plate can easily be taken into account in a FEM calculation. Bent crystals are often used as focusing optical elements in Xray beamlines 11-13.
In the following, we show the implementation of a general numerical framework for describing the propagation of X-rays inside a crystal based on the solution of the Takagi equations via the COMSOL Multiphysics FEM software package (www.comsol.com). A cylindrically bent crystal will be taken as an example to illustrate the capabilities of the new approach.