<div dir="ltr">Hi;<div><br></div><div>You're right, I didn't notice the index. I will try this out. </div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div>C.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-21 7:51 GMT-06:00 Klaus Weide <span dir="ltr"><<a href="mailto:klaus@flash.uchicago.edu" target="_blank">klaus@flash.uchicago.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 20 Mar 2018, María Fernanda Clever Uribe wrote:<br>
<br>
> I also found an example of Grid_bcApplyToRegion.F90 and I thought that this<br>
> could be the file I have to use instead of Grid_bcApplyToEdge.F90, because<br>
> I want my boundary conditions to be only in the left corner of my domain. I<br>
> took the example of this file from the Grid directory and I customized it.<br>
<br>
</span>Yes, that makes sense.<br>
<span class=""><br>
> I wrote a restriction over -X boundary where the jet has to be ejected, but<br>
> I get a blast wave in all the cells in Y axis. I attached a picture of my<br>
> results and also the file that I'm using.<br>
<br>
</span>The condition your wrote<br>
<br>
if (i .eq. (guard-1.0)/guard) then<br>
<br>
does not make sense to me.<br>
<br>
It seems that you want different values for different valus of the SECOND<br>
index of the regionData array. Currenly the whole range 1:je is treated<br>
identically. It seems you have to write an explicit loop like<br>
<br>
DO j=1,je<br>
<br>
and do different things inside the look depending on the j.<br>
<span class="HOEnZb"><font color="#888888"><br>
Klaus</font></span></blockquote></div><br></div>