aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
diff options
context:
space:
mode:
authorGravatar Revathi Jambunathan <41089244+RevathiJambunathan@users.noreply.github.com> 2021-02-21 10:25:53 -0800
committerGravatar GitHub <noreply@github.com> 2021-02-21 10:25:53 -0800
commitce00b5f347cb20979a07d20073442aec667775d1 (patch)
tree0fa864c2fa19007ad7dcc9b1b1801d297a919071 /Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
parent8aac5d31e800cd7f661b5f535eff6c36698802a6 (diff)
downloadWarpX-ce00b5f347cb20979a07d20073442aec667775d1.tar.gz
WarpX-ce00b5f347cb20979a07d20073442aec667775d1.tar.zst
WarpX-ce00b5f347cb20979a07d20073442aec667775d1.zip
Backtransformed Diags with openPMD (#1717)
* add geometry object and plotfile variables for BTD * fixing buffer and snapshot definitions and emptying/refilling of buffers * Adding Plotfile capability for BTD * fix eol * add comments and remove commented line in OpnPMD * remove unnecesary print statement * read header without bcast within io scope and modify fabname in first fabheader * remove tab * add empty line back * Adding snapshot geom and BTD parameters for openpmd interface * eol * remove print statement * eol * openPMD: BTD write support - open series only once - declare iteration in labframe only once - including fields & extents - use proper global lab-frame meta-data and write only once * fix the right path for openpmd BTD data * eol fix * Spaces & a comment * rename to first_write_to_iteration for clarity just me being picky about my choice of variable name * Fix write condition (first) Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp')
-rw-r--r--Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
index 9d2a6facc..90a0c8317 100644
--- a/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
+++ b/Source/Diagnostics/BTD_Plotfile_Header_Impl.cpp
@@ -106,7 +106,7 @@ BTDPlotfileHeaderImpl::WriteHeader ()
HeaderFile.precision(17);
- // Genetic Plotfile type name
+ // Generic Plotfile type name
HeaderFile << m_file_version << '\n';
// number of components
HeaderFile << m_varnames.size() << '\n';