[FLASH-USERS] adding particle unit

Slavin, Jonathan jslavin at cfa.harvard.edu
Thu Apr 25 09:58:02 EDT 2019


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>
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/1508ecea/attachment-0001.htm>


More information about the flash-users mailing list