[FLASH-USERS] delaying particle initiation
Slavin, Jonathan
jslavin at cfa.harvard.edu
Fri Apr 2 16:07:53 EDT 2021
Hi Anshu,
Thanks for the suggestion. I'm considering just altering my version of
pt_initPositions such that it does nothing (given the right condition) and
using Particles_addNew to add particles later.
Jon
On Fri, Apr 2, 2021 at 2:51 PM Dubey, Anshu <adubey at anl.gov> wrote:
> Greetings.
>
> It would appear that I am no longer allowed to post on flash-users list.
>
> My response to your posting bounced. So I am sending it to you directly.
>
>
>
> A simpler solution might be to have a custom copy of
> Driver_evolveFlash.F90 in your simulation directory where you put
> something like:
>
> if(condition) call Particles_initialize.
>
> And inside your pt_initPositions return without initializing if the
> condition is not true.
> if(not.condition) return
>
>
>
> Best,
>
> Anshu
>
>
>
> Anshu Dubey
>
>
>
> Computational Scientist
>
> Mathematics and Computer Science Division
>
> Argonne National Laboratory
>
>
>
> Senior Scientist, CASE
>
> Computer Science Department
>
> University of Chicago
>
--
Jonathan D. Slavin
Astrophysicist - High Energy Astrophysics Division
Center for Astrophysics | Harvard & Smithsonian
Office: (617) 496-7981 | Cell: (781) 363-0035
60 Garden Street | MS 83 | Cambridge, MA 02138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210402/dbe12f84/attachment-0001.htm>
More information about the flash-users
mailing list