<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Jonathan,<div class=""><br class=""></div><div class="">I think we’d need a bit more info about your new algorithm. Are you defining a new advancement method for particles advancement, as opposed to just adding a new force? </div><div class=""><br class=""></div><div class="">If you want you can send some code to me directly, but I might not be able to get to it today.</div><div class=""><br class=""></div><div class="">John<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 25, 2019, at 9:58 AM, Slavin, Jonathan <<a href="mailto:jslavin@cfa.harvard.edu" class="">jslavin@cfa.harvard.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I think I figured out the answer to this. I needed to edit Particles.h</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">I don't understand what the numbers mean though. </div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><div class="gmail_default">#define PASSIVE 323</div><div class="gmail_default">#define EULER_MAS 364</div><div class="gmail_default">#define LEAPFROG 366</div><div class="gmail_default">#define LEAPFROG_COSMO 367</div><div class=""><br class=""></div><div class="">If someone could clue me in on this, I'd appreciate it.<br class=""></div><div class=""><br class=""></div><div class="">Jon</div></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 8:35 AM Slavin, Jonathan <<a href="mailto:jslavin@cfa.harvard.edu" class="">jslavin@cfa.harvard.edu</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><div style="font-family:tahoma,sans-serif;font-size:small" class="">Hi,</div><div style="font-family:tahoma,sans-serif;font-size:small" class=""><br class=""></div><div style="font-family:tahoma,sans-serif;font-size:small" class="">I'm trying to add a new particle unit under Particles/ParticlesMain/active. I think I've included all the necessary REQUIRES statements in the Config file in the simulation directory, but when I build I get an error during the compilation of Particle_specifyMethods.F90:</div><div style="font-family:tahoma,sans-serif;font-size:small" class=""><div class="">Particles_specifyMethods.F90(49): error #6404: This name does not have a type, and must have an explicit type. [DUST]</div><div class=""> particleAdvVect(n) = DUST</div><div class="">-----------------------^</div><div class="">Particle_specifyMethods.F90 is autogenerated by setup, so it's unclear to me how to make it so that the name of my new unit is declared. Any help on this would be appreciated.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Jon</div></div><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail-m_4373077012656278085gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><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;" class=""></div><div dir="ltr" class="">Jonathan D. Slavin</div><div dir="ltr" class="">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr" class="">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr" class="">Office: (617) 496-7981 | Cell: (781) 363-0035<br class="">60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr" class=""><span class=""><div style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;" class=""><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border: none;" class=""></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><br class=""></span></div></span></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><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;" class=""></div><div dir="ltr" class="">Jonathan D. Slavin</div><div dir="ltr" class="">Astrophysicist - High Energy Astrophysics Division</div><div dir="ltr" class="">Center for Astrophysics | Harvard & Smithsonian</div><div dir="ltr" class="">Office: (617) 496-7981 | Cell: (781) 363-0035<br class="">60 Garden Street | MS 83 | Cambridge, MA 02138</div></div><div dir="ltr" class=""><span class=""><div style="line-height: 1.2; margin-top: 0pt; margin-bottom: 0pt;" class=""><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><img src="https://lh6.googleusercontent.com/mJuf9zI6QC5w6HPVCinnLSkpp-RgufOfl7nw1E_aghDflNhusoRbZTuP_0x-RkECQRhIfvPxGMe6zSt6chyXZ7D5DdqtkZPp0q-TE8itKny8VWObWAiZ1aurYWDO0CtZgvJEXfzu" width="350" height="2" style="border: none;" class=""></span><span style="font-size:9.5pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap" class=""><br class=""></span></div></span></div></div></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>