@@ -198,14 +198,14 @@ class RBParameters
198198 * Get the value of the specified parameter at the specified step,
199199 * throwing an error if it does not exist.
200200 */
201- Real get_step_value (const std::string & param_name, std::size_t index ) const ;
201+ Real get_step_value (const std::string & param_name, std::size_t step ) const ;
202202
203203 /* *
204204 * Get the value of the specified parameter at the specified step,
205205 * returning the provided default value if either the parameter is
206206 * not defined or the step is invalid.
207207 */
208- Real get_step_value (const std::string & param_name, std::size_t index , const Real & default_val) const ;
208+ Real get_step_value (const std::string & param_name, std::size_t step , const Real & default_val) const ;
209209
210210 /* *
211211 * Set the value of the specified parameter. If param_name
@@ -232,6 +232,11 @@ class RBParameters
232232 */
233233 void push_back_value (const std::string & param_name, Real value);
234234
235+ /* *
236+ * Same as push_back_value(), but for "extra" parameters.
237+ */
238+ void push_back_extra_value (const std::string & param_name, Real value);
239+
235240 /* *
236241 * Get the value of the specified extra parameter, throwing an error
237242 * if it does not exist.
@@ -244,6 +249,19 @@ class RBParameters
244249 */
245250 Real get_extra_value (const std::string & param_name, const Real & default_val) const ;
246251
252+ /* *
253+ * Get the value of the specified "extra" parameter at the specified step,
254+ * throwing an error if it does not exist.
255+ */
256+ Real get_extra_step_value (const std::string & param_name, std::size_t step) const ;
257+
258+ /* *
259+ * Get the value of the specified extra parameter at the specified step,
260+ * returning the provided default value if either the parameter is
261+ * not defined or the step is invalid.
262+ */
263+ Real get_extra_step_value (const std::string & param_name, std::size_t step, const Real & default_val) const ;
264+
247265 /* *
248266 * Set the value of the specified extra parameter. If param_name
249267 * doesn't already exist, it is added to the extra parameters.
0 commit comments