[FLASH-USERS] adding particle unit

John ZuHone jzuhone at gmail.com
Thu Apr 25 10:03:44 EDT 2019


Hi Jonathan,

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? 

If you want you can send some code to me directly, but I might not be able to get to it today.

John

> On Apr 25, 2019, at 9:58 AM, Slavin, Jonathan <jslavin at cfa.harvard.edu> wrote:
> 
> I think I figured out the answer to this. I needed to edit Particles.h
> I don't understand what the numbers mean though. 
> #define PASSIVE         323
> #define EULER_MAS       364
> #define LEAPFROG        366
> #define LEAPFROG_COSMO  367
> 
> If someone could clue me in on this, I'd appreciate it.
> 
> Jon
> 
> On Thu, Apr 25, 2019 at 8:35 AM Slavin, Jonathan <jslavin at cfa.harvard.edu <mailto:jslavin at cfa.harvard.edu>> wrote:
> Hi,
> 
> 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:
> Particles_specifyMethods.F90(49): error #6404: This name does not have a type, and must have an explicit type.   [DUST]
>   particleAdvVect(n) = DUST
> -----------------------^
> 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.
> 
> Thanks,
> Jon
> 
> -- 
> 
> 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
> 
> 
> 
> -- 
> 
> 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/20190425/b29ec243/attachment.htm>


More information about the flash-users mailing list