aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FieldIO.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-07-27 10:27:29 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-07-27 10:27:29 -0700
commitd6fa86df7d4c1ab40aad92798e2e49fbee040013 (patch)
tree19feabe2d3ac8bb602923dbd008eb791d5a63e01 /Source/Diagnostics/FieldIO.cpp
parent3740d49d20eefb20b551e21aff2fc552ee2681f9 (diff)
downloadWarpX-d6fa86df7d4c1ab40aad92798e2e49fbee040013.tar.gz
WarpX-d6fa86df7d4c1ab40aad92798e2e49fbee040013.tar.zst
WarpX-d6fa86df7d4c1ab40aad92798e2e49fbee040013.zip
typo
Diffstat (limited to 'Source/Diagnostics/FieldIO.cpp')
-rw-r--r--Source/Diagnostics/FieldIO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/FieldIO.cpp b/Source/Diagnostics/FieldIO.cpp
index febaedc2f..5c523804e 100644
--- a/Source/Diagnostics/FieldIO.cpp
+++ b/Source/Diagnostics/FieldIO.cpp
@@ -325,12 +325,12 @@ WarpX::AverageAndPackFields ( Vector<std::string>& varnames,
// Allocate pointers to the `ncomp` fields that will be added
mf_avg.push_back( MultiFab(grids[lev], dmap[lev], ncomp, ngrow));
- // For E, B and J, if at least one component us required,
+ // For E, B and J, if at least one component is requested,
// build cell-centered temporary MultiFab with 3 comps
MultiFab mf_tmp_E, mf_tmp_B, mf_tmp_J;
// Build mf_tmp_E is at least one component of E is requested
if (is_in_vector(fields_to_plot, {"Ex", "Ey", "Ez"} )){
- // Allocate memory for MultiFab with 3 components
+ // Allocate temp MultiFab with 3 components
mf_tmp_E = MultiFab(grids[lev], dmap[lev], 3, ngrow);
// Fill MultiFab mf_tmp_E with averaged E
AverageAndPackVectorField(mf_tmp_E, Efield_aux[lev], 0, ngrow);