Surface layoutsΒΆ

Surface layouts can be used to describe complex interfaces at the outer and inner sample surfaces, such as thin absorbing or reflective coatings that break the radial symmetry of the layer stack. The surface layouts are subclasses of xopto.mccyl.mcsurface.base.SurfaceLayoutBase. Note that the outer and internal layer surfaces can be assigned a different surface layout. The provided OpenCL code will be executed each time the photon packet hits the outer sample surface or any of the internal sample layers.

The surface layuts are passed to a Simulator constructor xopto.mccyl.mc.Mc.__init__() using the surface argument, which can take an instance of the xopto.mccyl.mcsurface.base.SurfaceLayouts class.