<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Anshu,</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">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.</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">Jon</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 2, 2021 at 2:51 PM Dubey, Anshu <<a href="mailto:adubey@anl.gov">adubey@anl.gov</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">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_-7664736035857600929WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Greetings.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">It would appear that I am no longer allowed to post on flash-users list.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">My response to your posting bounced. So I am sending it to you directly.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:rgb(34,34,34);background:white">A simpler solution might be to have a custom copy of</span><span style="font-family:Arial,sans-serif;color:rgb(34,34,34)"><br>
<span style="background:white">Driver_evolveFlash.F90 in your simulation directory where you put</span><br>
<span style="background:white">something like:</span><br>
<br>
<span style="background:white">if(condition) call Particles_initialize.</span><br>
<br>
<span style="background:white">And inside your pt_initPositions return without initializing if the</span><br>
<span style="background:white">condition is not true.</span><br>
<span style="background:white">if(not.condition) return</span></span><span style="font-size:11pt"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Anshu<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Anshu Dubey<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Computational Scientist
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Mathematics and Computer Science Division<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Argonne National Laboratory<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Senior Scientist, CASE<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;color:black">Computer Science Department<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11pt;color:black">University of Chicago
</span><u></u><u></u></p>
</div>
</div>
</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>