diff options
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/FieldMomentum.cpp')
-rw-r--r-- | Source/Diagnostics/ReducedDiags/FieldMomentum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp b/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp index 53a93e2a2..b9a90b67e 100644 --- a/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp +++ b/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp @@ -58,7 +58,7 @@ FieldMomentum::FieldMomentum (std::string rd_name) if (amrex::ParallelDescriptor::IOProcessor()) { - if (m_IsNotRestart) + if (m_write_header) { // Open file std::ofstream ofs{m_path + m_rd_name + "." + m_extension, std::ofstream::out}; |