[FLASH-USERS] Grid changed
Mark Richardson
mark.richardson.work at gmail.com
Tue Jan 17 06:31:00 EST 2017
Hi Seyit,
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.
Cheers,
-Mark
On 17 January 2017 at 03:12, Seyit Hocuk <seyit at mpe.mpg.de> wrote:
> Dear Flash users,
>
> 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.
>
> My basic question is, how can I know if the grid changed at any place in
> the simulation. Any elegant/simple solution is acceptable.
>
> Best wishes,
> Seyit
>
>
>
> --
> Dr. Seyit Hocuk
> Post-doctoral researcher
> Center for Astrochemical Studies (CAS)
> Max-Planck-Institute for Extraterrestrial physics (MPE)
> Giessenbachstrasse 1, 85748 Garching bei Munchen
> Phone: +49-8930000-3012 | Fax: +49-8930000-3569
> Web : www.mpe.mpg.de/~seyit
>
>
--
Mark Richardson
Beecroft Postdoctoral Fellow, Department of Physics
Denys Wilkinson Building - 555F
University of Oxford
Mark.Richardson at physics.ox.ac.uk
+44 1865 280793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20170117/dce851f8/attachment-0001.htm>
More information about the flash-users
mailing list