<div dir="ltr">Hi Seyit,<div><br></div><div> My likely rough solution is that in gr_markRefineDerefine I check if anything wants to either refine or derefine, and if so I set grid_changed to 1. This will need to be propagated to all processors. </div><div><br></div><div>Cheers,</div><div> -Mark </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 January 2017 at 03:12, Seyit Hocuk <span dir="ltr"><<a href="mailto:seyit@mpe.mpg.de" target="_blank">seyit@mpe.mpg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Flash users,<br>
<br>
In one of my subroutines, I was making use of the variables "grid_changed" and "dr_simGeneration" (both integer) to notify me of any changes in the grid and perform a task in such a case. This worked for the split solver(s). Now, with the unsplit solvers "grid_changed" is not getting updated with the grid.<br>
<br>
My basic question is, how can I know if the grid changed at any place in the simulation. Any elegant/simple solution is acceptable.<br>
<br>
Best wishes,<br>
Seyit<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
<br>
-- <br>
Dr. Seyit Hocuk<br>
Post-doctoral researcher<br>
Center for Astrochemical Studies (CAS)<br>
Max-Planck-Institute for Extraterrestrial physics (MPE)<br>
Giessenbachstrasse 1, 85748 Garching bei Munchen<br>
Phone: <a href="tel:%2B49-8930000-3012" value="+4989300003012" target="_blank">+49-8930000-3012</a> | Fax: <a href="tel:%2B49-8930000-3569" value="+4989300003569" target="_blank">+49-8930000-3569</a><br>
Web : <a href="http://www.mpe.mpg.de/~seyit" rel="noreferrer" target="_blank">www.mpe.mpg.de/~seyit</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br>Mark Richardson<br><div>Beecroft Postdoctoral Fellow, Department of Physics<div>Denys Wilkinson Building - 555F</div><div>University of Oxford<div><a href="mailto:Mark.Richardson@physics.ox.ac.uk" target="_blank">Mark.Richardson@physics.ox.ac.uk</a><br><div>+44 1865 280793</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>