From 606eab1a6092eabf9133c90d62a2a7d5e1b866d9 Mon Sep 17 00:00:00 2001 From: Mukul Dave Date: Fri, 18 Oct 2024 16:27:55 -0700 Subject: [PATCH] add get_dt accessor function for multiblock --- Source/ERF.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/ERF.H b/Source/ERF.H index 0a8230110..d33bdba41 100644 --- a/Source/ERF.H +++ b/Source/ERF.H @@ -368,9 +368,10 @@ public: // Advance a block specified number of time steps void Evolve_MB (int MBstep, int max_block_step); - // get the current time values + // get the current time values and dt amrex::Real get_t_old() {return t_old[0];} amrex::Real get_t_new() {return t_new[0];} + amrex::Real get_dt() {return dt[0];} // Set parmparse prefix for MultiBlock void SetParmParsePrefix (std::string name) { pp_prefix = name; }