aboutsummaryrefslogtreecommitdiff
path: root/Source/Evolve/WarpXEvolveEM.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-07-26 14:05:14 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-07-26 14:05:14 -0700
commit1b67c15a76868332487c203562ab3e824d2f2e65 (patch)
tree68a40bc220cd7d77e36ef6a38ffc3ce1c162d912 /Source/Evolve/WarpXEvolveEM.cpp
parentc51759f954fc58b15efeeb492e56d1f58ce6b892 (diff)
downloadWarpX-1b67c15a76868332487c203562ab3e824d2f2e65.tar.gz
WarpX-1b67c15a76868332487c203562ab3e824d2f2e65.tar.zst
WarpX-1b67c15a76868332487c203562ab3e824d2f2e65.zip
get rid of Fortran field gather except for RZ
Diffstat (limited to 'Source/Evolve/WarpXEvolveEM.cpp')
-rw-r--r--Source/Evolve/WarpXEvolveEM.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Evolve/WarpXEvolveEM.cpp b/Source/Evolve/WarpXEvolveEM.cpp
index f1f7c698c..32a4747db 100644
--- a/Source/Evolve/WarpXEvolveEM.cpp
+++ b/Source/Evolve/WarpXEvolveEM.cpp
@@ -189,9 +189,9 @@ WarpX::EvolveEM (int numsteps)
UpdateAuxilaryData();
for (int lev = 0; lev <= finest_level; ++lev) {
- mypc->FieldGatherFortran(lev,
- *Efield_aux[lev][0],*Efield_aux[lev][1],*Efield_aux[lev][2],
- *Bfield_aux[lev][0],*Bfield_aux[lev][1],*Bfield_aux[lev][2]);
+ mypc->FieldGather(lev,
+ *Efield_aux[lev][0],*Efield_aux[lev][1],*Efield_aux[lev][2],
+ *Bfield_aux[lev][0],*Bfield_aux[lev][1],*Bfield_aux[lev][2]);
}
last_plot_file_step = step+1;
@@ -241,11 +241,11 @@ WarpX::EvolveEM (int numsteps)
UpdateAuxilaryData();
for (int lev = 0; lev <= finest_level; ++lev) {
- mypc->FieldGatherFortran(lev,
- *Efield_aux[lev][0],*Efield_aux[lev][1],
- *Efield_aux[lev][2],
- *Bfield_aux[lev][0],*Bfield_aux[lev][1],
- *Bfield_aux[lev][2]);
+ mypc->FieldGather(lev,
+ *Efield_aux[lev][0],*Efield_aux[lev][1],
+ *Efield_aux[lev][2],
+ *Bfield_aux[lev][0],*Bfield_aux[lev][1],
+ *Bfield_aux[lev][2]);
}
if (write_plot_file)