diff options
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r-- | Source/WarpX.H | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H index 20d4e4210..2d1124c06 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -187,6 +187,11 @@ public: */ static amrex::Vector<ParticleBoundaryType> particle_boundary_hi; + //! Integer that corresponds to the order of the PSATD solution + //! (whether the PSATD equations are derived from first-order or + //! second-order solution) + static short psatd_solution_type; + //! Integers that correspond to the time dependency of J (constant, linear) //! and rho (linear, quadratic) for the PSATD algorithm static short J_in_time; @@ -1639,7 +1644,7 @@ private: const int icomp, const int dcomp, const bool apply_kspace_filter=true); /** - * \brief Copy rho_new to rho_old in spectral space + * \brief Copy rho_new to rho_old in spectral space (when rho is linear in time) */ void PSATDMoveRhoNewToRhoOld (); |