<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Klaus,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I think you may be right. I had thought that by using gr_lrefineMaxByTime and setting a higher value of for gr_lrefmaxTimeValue (i.e. a higher value than the initial one) that the value of lrefine_max would be increased. However that seems not to be happening. I've used gr_lrefineMaxByTime in the past to decrease the maximum refinement, but it seems that it doesn't work in the opposite direction. </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I'm not sure what happens to lrefine_max, but when I print it out, I got some odd value (I printed with format i5 and got ****. Of course I could've printed it with default formatting.)</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 23, 2021 at 1:00 PM <<a href="mailto:flash-users-request@flash.uchicago.edu">flash-users-request@flash.uchicago.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Klaus Weide <<a href="mailto:klaus@flash.uchicago.edu" target="_blank">klaus@flash.uchicago.edu</a>><br>To: flash-users <<a href="mailto:flash-users@flash.uchicago.edu" target="_blank">flash-users@flash.uchicago.edu</a>><br>Cc: <br>Bcc: <br>Date: Thu, 22 Apr 2021 18:59:02 -0500 (CDT)<br>Subject: Re: [FLASH-USERS] how to force refinement<br>On Thu, 22 Apr 2021, Slavin, Jonathan wrote:<br>
<br>
> I realized after posting that the correct way to do this is to have a<br>
> custom version of Grid_markRefineDerefine.F90 in my simulation directory<br>
> and include inside of that a call to Grid_markRefineSpecialized. I did<br>
> that, but for some reason the grid is still not refining in the way I want.<br>
> Print statements inside Grid_markRefineSpecialized and gr_markInRadius<br>
> indicate that the proper blocks are getting marked for refinement and yet<br>
> no refinement is being done. I put the call to Grid_markRefineSpecialized<br>
> at the end of Grid_markRefineDerefine so it should prevent refine and<br>
> derefine from getting overwritten.<br>
<br>
What is the value of 'lref' with which you call Grid_markRefineSpecialized <br>
from your Grid_markRefineDerefine? How does it relate to lrefine_max?<br>
<br>
Note that you can never increase refinement beyond lrefine_max.<br>
<br>
Klaus<br>
<br>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.uchicago.edu" target="_blank">flash-users@flash.uchicago.edu</a><br>
<a href="http://flash.uchicago.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">http://flash.uchicago.edu/mailman/listinfo/flash-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="font-size: 12.6667px; font-family: Arial; white-space: pre-wrap; border: none;"></div><div dir="ltr">Jonathan D. Slavin</div><div dir="ltr">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr">Office: (617) 496-7981 | Cell: (781) 363-0035<br>60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr"><span><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border: none;"></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div>