aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python/WarpXWrappers.H')
-rw-r--r--Source/Python/WarpXWrappers.H10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/Python/WarpXWrappers.H b/Source/Python/WarpXWrappers.H
index 8d2ee4364..bd47a3ebb 100644
--- a/Source/Python/WarpXWrappers.H
+++ b/Source/Python/WarpXWrappers.H
@@ -110,6 +110,16 @@ extern "C" {
void warpx_clearParticleBoundaryBuffer ();
+ /**
+ * \brief This function is used to deposit a given species' charge density
+ * in the rho_fp multifab which can then be accessed from python via
+ * pywarpx.fields.RhoFPWrapper()
+ *
+ * @param[in] species_name specifying the name of the species to deposit
+ * @param[in] lev mesh refinement level
+ */
+ void warpx_depositChargeDensity (const char* species_name, int lev);
+
void warpx_ComputeDt ();
void warpx_MoveWindow (int step, bool move_j);