diff options
Diffstat (limited to 'Source/Python/WarpXWrappers.H')
-rw-r--r-- | Source/Python/WarpXWrappers.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.H b/Source/Python/WarpXWrappers.H index 7cded8a89..9dbdb02db 100644 --- a/Source/Python/WarpXWrappers.H +++ b/Source/Python/WarpXWrappers.H @@ -82,6 +82,10 @@ extern "C" { long warpx_getNumParticles(const char* char_species_name, const bool local); + void warpx_convert_id_to_long (amrex::Long* ids, const WarpXParticleContainer::ParticleType* pstructs, int size); + + void warpx_convert_cpu_to_int (int* cpus, const WarpXParticleContainer::ParticleType* pstructs, int size); + amrex::ParticleReal** warpx_getParticleStructs( const char* char_species_name, int lev, int* num_tiles, int** particles_per_tile); |