diff options
Diffstat (limited to 'Source/Python/WarpXWrappers.h')
-rw-r--r-- | Source/Python/WarpXWrappers.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index f98600707..1672b01ae 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -8,6 +8,7 @@ #ifndef WARPX_WRAPPERS_H_ #define WARPX_WRAPPERS_H_ +#include "Particles/WarpXParticleContainer.H" #include "Evolve/WarpXDtType.H" #include <AMReX_Config.H> #include <AMReX_REAL.H> @@ -92,6 +93,20 @@ extern "C" { amrex::ParticleReal** warpx_getParticleArrays(int speciesnumber, int comp, int lev, int* num_tiles, int** particles_per_tile); + amrex::ParticleReal** warpx_getParticleArraysFromCompName( + const char* char_species_name, const char* char_comp_name, int lev, + int* num_tiles, int** particles_per_tile); + + amrex::ParticleReal** warpx_getParticleArraysUsingPC( + WarpXParticleContainer& myspc, int comp, + int lev, int* num_tiles, int** particles_per_tile); + + int warpx_getParticleCompIndex( + const char* char_species_name, const char* char_comp_name); + + void warpx_addRealComp( + const char* char_species_name, const char* char_comp_name, bool comm); + void warpx_ComputeDt (); void warpx_MoveWindow (int step, bool move_j); |