diff options
author | 2023-06-30 12:09:13 -0700 | |
---|---|---|
committer | 2023-06-30 19:09:13 +0000 | |
commit | 1a55de802493eef4c515be0e198e4ddb23e5cda9 (patch) | |
tree | e7938d009a51a144f46195bf649649ace96dfb58 /Source/WarpX.H | |
parent | 5baa09ceadc6291f67839c7842fd1756edfc1186 (diff) | |
download | WarpX-1a55de802493eef4c515be0e198e4ddb23e5cda9.tar.gz WarpX-1a55de802493eef4c515be0e198e4ddb23e5cda9.tar.zst WarpX-1a55de802493eef4c515be0e198e4ddb23e5cda9.zip |
Continuous injection of moving plasma (#3958)
* Continuous injection of moving plasma
* Fix const correctness
* Fix bugs in calculation of v_bulk
* Fix restart
* Use range-based for loops where possible
* Apply suggestions from code review
* Fix bug related to managed memory
* Apply suggestions from code review
* Exclude case with `moving_window_v = 0`
* Add to WarpXParticleContainer virtual function that returns pointer to plasma injector
* Add to WarpXParticleContainer member variable for current injection position
* Fix bugs
* Fix bug: use continue instead of return
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r-- | Source/WarpX.H | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H index fb5e403f4..dbe922812 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -868,7 +868,6 @@ public: amrex::Real getdt (int lev) const {return dt[lev];} int getdo_moving_window() const {return do_moving_window;} amrex::Real getmoving_window_x() const {return moving_window_x;} - amrex::Real getcurrent_injection_position () const {return current_injection_position;} bool getis_synchronized() const {return is_synchronized;} int maxStep () const {return max_step;} @@ -1470,7 +1469,6 @@ private: amrex::Real v_particle_pml; amrex::Real moving_window_x = std::numeric_limits<amrex::Real>::max(); - amrex::Real current_injection_position = 0; // Plasma injection parameters int warpx_do_continuous_injection = 0; |