aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Docs/source/usage/parameters.rst5
-rw-r--r--Source/Diagnostics/FullDiagnostics.cpp2
-rw-r--r--Source/Diagnostics/ReducedDiags/ReducedDiags.cpp2
3 files changed, 4 insertions, 5 deletions
diff --git a/Docs/source/usage/parameters.rst b/Docs/source/usage/parameters.rst
index 40639aa37..1fa959795 100644
--- a/Docs/source/usage/parameters.rst
+++ b/Docs/source/usage/parameters.rst
@@ -1761,10 +1761,9 @@ In-situ capabilities can be used by turning on Sensei or Ascent (provided they a
Name of each diagnostics.
example: ``diagnostics.diags_names = diag1 my_second_diag``.
-* ``<diag_name>.intervals`` (`string` optional, default `0`)
+* ``<diag_name>.intervals`` (`string`)
Using the `Intervals parser`_ syntax, this string defines the timesteps at which data is dumped.
Use a negative number or 0 to disable data dumping.
- This is ``0`` (disabled) by default.
example: ``diag1.intervals = 10,20:25:1``.
Note that by default the last timestep is dumped regardless of this parameter. This can be
changed using the parameter ``<diag_name>.dump_last_timestep`` described below.
@@ -2325,7 +2324,7 @@ Reduced Diagnostics
so the time of the diagnostic may be long
depending on the simulation size.
-* ``<reduced_diags_name>.intervals`` (`string`) optional (default ``1``)
+* ``<reduced_diags_name>.intervals`` (`string`)
Using the `Intervals Parser`_ syntax, this string defines the timesteps at which reduced
diagnostics are written to file.
diff --git a/Source/Diagnostics/FullDiagnostics.cpp b/Source/Diagnostics/FullDiagnostics.cpp
index 6ef74f0f3..3490c4755 100644
--- a/Source/Diagnostics/FullDiagnostics.cpp
+++ b/Source/Diagnostics/FullDiagnostics.cpp
@@ -80,7 +80,7 @@ FullDiagnostics::ReadParameters ()
m_format == "sensei",
"<diag>.format must be plotfile or openpmd or checkpoint or ascent or sensei");
std::vector<std::string> intervals_string_vec = {"0"};
- pp_diag_name.queryarr("intervals", intervals_string_vec);
+ pp_diag_name.getarr("intervals", intervals_string_vec);
m_intervals = IntervalsParser(intervals_string_vec);
bool raw_specified = pp_diag_name.query("plot_raw_fields", m_plot_raw_fields);
raw_specified += pp_diag_name.query("plot_raw_fields_guards", m_plot_raw_fields_guards);
diff --git a/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp b/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
index b1d8723e2..eff95fcda 100644
--- a/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
+++ b/Source/Diagnostics/ReducedDiags/ReducedDiags.cpp
@@ -56,7 +56,7 @@ ReducedDiags::ReducedDiags (std::string rd_name)
// read reduced diags intervals
std::vector<std::string> intervals_string_vec = {"1"};
- pp_rd_name.queryarr("intervals", intervals_string_vec);
+ pp_rd_name.getarr("intervals", intervals_string_vec);
m_intervals = IntervalsParser(intervals_string_vec);
// read separator