diff options
author | 2021-10-12 02:39:58 +0200 | |
---|---|---|
committer | 2021-10-11 17:39:58 -0700 | |
commit | 5a12391f0c2350e9083bf3138da210eb81707e6e (patch) | |
tree | 5755fcbc17dfd120e2f3ad8fd019de7b15aca24f /Source/FieldSolver/SpectralSolver/SpectralSolver.cpp | |
parent | d367eb0c15c36baf390d0c9ec7bc068fe25490b7 (diff) | |
download | WarpX-5a12391f0c2350e9083bf3138da210eb81707e6e.tar.gz WarpX-5a12391f0c2350e9083bf3138da210eb81707e6e.tar.zst WarpX-5a12391f0c2350e9083bf3138da210eb81707e6e.zip |
Use parser for more input parameters (#2386)
* Use parser for more input parameters
* Fix PSATD compilation and apply suggestions from code review
* Avoid out of bound array access for num_particles_per_cell_each_dim
* Fix few input files with respect to num_particles_per_cell_each_dim
* Fix get that incorrectly became query
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralSolver.cpp')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralSolver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp index 8dd6b2bd9..a6b2f0aa4 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralSolver.cpp @@ -24,8 +24,8 @@ SpectralSolver::SpectralSolver( const int norder_x, const int norder_y, const int norder_z, const bool nodal, const amrex::IntVect& fill_guards, - const amrex::Array<amrex::Real,3>& v_galilean, - const amrex::Array<amrex::Real,3>& v_comoving, + const amrex::Vector<amrex::Real>& v_galilean, + const amrex::Vector<amrex::Real>& v_comoving, const amrex::RealVect dx, const amrex::Real dt, const bool pml, const bool periodic_single_box, const bool update_with_rho, |