qpv-research-group / rayflare

Open-source, integrated optical modelling of complex stacks
Other
31 stars 11 forks source link

Defining the height of pyramidal + planar surfaces #69

Closed michelgaglioni closed 2 months ago

michelgaglioni commented 3 months ago

My question regards how to define correctly de width of a surface which is, e.g., pyramidally corrugated in the front and planar in the back. For instance, let's assume I have a planar layer with material 1 on which I want to deposit pyramids with material 2. How would I calculate the correct width for material 1, which is going to "fill" the pyramids made of material two? Let's say, for example, that I want to simulate the structure in the attached image; if I want the height (the measure of a vertical line starting from the planar layer in direction to the top point of the upright pyramid, as in '1') to be, let's say, 100 nm, does that mean I should define the width of this layer as 100 nm in the 'widths' options of the 'rt_structure', or is it something else? In another words, my question is: when I define a width in the 'widths' option of the 'rt_structure', in which direction is the material "grown", or measured? vertically? or maybe diagonally, in the direction of the inclination of the pyramids? Would it be in some of the directions 1, 2 or 3 of the attachment? From attachment 2, in this case, I'm asking about how should I define the LiF width (specifically the planar slab width). I want to know, more specifically, if I need to define this width in such a way that it perectly fills the pyramid gap on the top or wether Rayflare does that distribution automatically for whichever width is defined.

Imagem1 Captura de tela 2024-04-08 122502

michelgaglioni commented 2 months ago

Not a question anymore!