Skip to content

A code to generate an openPMD file when provided with position, momentum, weight etc.

Notifications You must be signed in to change notification settings

PhysicsDan/openPMD-particle-input-file-WarpX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenPMD creator

Some python functions to generate openPMD files which can be used to initialse particles in WarpX simulations. Note that depending on the size of the simulation and number of particles per cell the particle files (and RAM usage) can be quite high (> tens of GB). The code could prehaps be written more efficently but it should do the job. In my opinion it is best to create the files on whatever server you will run the WarpX simulation on. Note: even this small example hdf5 file is over a GB.

To Do

  • Implement multithreading

About

A code to generate an openPMD file when provided with position, momentum, weight etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages