<div dir="ltr"><div>Dear all,<br><br>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Arial;
panose-1:2 11 6 4 2 2 2 2 2 4;
mso-font-charset:0;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:-536859905 -1073711037 9 0 511 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:0;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 0 0 0 1 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0cm;
margin-right:0cm;
margin-bottom:10.0pt;
margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:Calibri;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:Arial;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-GB;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:11.0pt;
mso-ansi-font-size:11.0pt;
mso-bidi-font-size:11.0pt;
font-family:Calibri;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:Arial;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-GB;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page WordSection1
{size:595.3pt 841.9pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<p class=""><span lang="EN-GB">I am trying to define three different
species in LaserSlab example in planar target and also trying to add sinusoidal
perturbations in the interface of the two materials. I used the same method to
define the species high in the initBlock when I modified the file but it
doesn’t work well with me. I can not see the three species, only the
CHAM_SPEC<span style> </span>filled the whole vaccum. My
modifying for three<span style> </span>species is as
following: </span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>xarg= xcent(i) * sim_kx</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>sim_pertubHeight<span style> </span>= sim_interface + &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span><span style> </span><span style> </span>sim_amplitude * cos(xarg)</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>if ( xcent(i) <=
sim_targetRadius &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>.and. ycent(j) >=
sim_vacuumHeight &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>.and. ycent(j) <=
sim_targetHeight &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>+ sim_vacuumHeight) then</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span><span style> </span>species = TARG_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>else if ( xcent(i) <=
sim_targetRadius .and. &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>ycent(j) >= sim_vacuumHeight +
sim_pertubHeight.and. &</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>ycent(j) <= sim_targetHeight +
sim_vacuumHeight ) then</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>species = FOIL_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>else</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>species = CHAM_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>end if</span></p>
<p class=""><span lang="EN-GB">I manage to do it for only two materials
but I did not get the real thickness as I really want for each material. It was
as the half of vacuum is filled with CHAM_SPEC and the another half is filled
with TRAG_SPEC. My modifying for two species: </span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>if ( xcent(i) <=
sim_targetRadius) then</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>species = CHAM_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>species = TARG_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>end if </span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>if ( ycent(j) <= sim_targetHeight
+ sim_vacuumHeight) species = CHAM_SPEC</span></p>
<p class=""><span style="font-size:9pt;line-height:115%" lang="EN-GB"><span style> </span>if ( ycent(j) >= sim_vacuumHeight
)<span style> </span>species = TARG_SPEC <span style> </span></span></p>
<p class=""><span lang="EN-GB">Is there a way to define the three species correctly? Or is there a way to define the correct thickness of two
species and make the rest of the vacuumHeight empty?</span></p>
Thanks for your help,<br></div>Reem<br></div>