aboutsummaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-26 20:25:34 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2019-04-26 20:25:34 -0700
commit07c720803c5dbc671164dd4ea6acf7175ff6f2ce (patch)
tree1764b88209e85aaeb61e0d292a952b3553af7fc2 /Source
parent759f7e1bae3db1c2f436800189a3780a8447841e (diff)
downloadWarpX-07c720803c5dbc671164dd4ea6acf7175ff6f2ce.tar.gz
WarpX-07c720803c5dbc671164dd4ea6acf7175ff6f2ce.tar.zst
WarpX-07c720803c5dbc671164dd4ea6acf7175ff6f2ce.zip
Fix typos
Diffstat (limited to 'Source')
-rw-r--r--Source/FieldSolver/SpectralSolver/PsatdAlgorithm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.cpp
index 900b542be..56e58bcc4 100644
--- a/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.cpp
+++ b/Source/FieldSolver/SpectralSolver/PsatdAlgorithm.cpp
@@ -10,12 +10,12 @@ PsatdAlgorithm::PsatdAlgorithm(const SpectralKSpace& spectral_kspace,
const int norder_x, const int norder_y,
const int norder_z, const bool nodal, const Real dt)
// Compute and assign the modified k vectors
-: modified_kx_vec(spectral_kspace.getModifiedKComponent(dm, 0, norder_x, nodal))
+: modified_kx_vec(spectral_kspace.getModifiedKComponent(dm,0,norder_x,nodal)),
#if (AMREX_SPACEDIM==3)
- modified_ky_vec(spectral_kspace.getModifiedKComponent(dm, 1, norder_y, nodal))
- modified_kz_vec(spectral_kspace.getModifiedKComponent(dm, 2, norder_z, nodal))
+ modified_ky_vec(spectral_kspace.getModifiedKComponent(dm,1,norder_y,nodal)),
+ modified_kz_vec(spectral_kspace.getModifiedKComponent(dm,2,norder_z,nodal))
#else
- modified_kz_vec(spectral_kspace.getModifiedKComponent(dm, 1, norder_z, nodal))
+ modified_kz_vec(spectral_kspace.getModifiedKComponent(dm,1,norder_z,nodal))
#endif
{
const BoxArray& ba = spectral_kspace.spectralspace_ba;