WarpX
|
#include <openPMD/openPMD.hpp>
#include <string>
Go to the source code of this file.
Functions | |
std::string | WarpXOpenPMDFileType () |
unsigned long | num_already_flushed (openPMD::ParticleSpecies &currSpecies) |
unsigned long num_already_flushed | ( | openPMD::ParticleSpecies & | currSpecies | ) |
Determine how many particles were already written in this species and step
This checks for a particle species the current size of the id attribute, if it exists, and if it does it takes its extent as the number of particles already on disk.
Note that this checks declared size, not necessarily written size.
std::string WarpXOpenPMDFileType | ( | ) |
Determine the preferred file ending if unspecified