Skip to content

Commit

Permalink
add get_dt accessor function for multiblock
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul1992 committed Oct 18, 2024
1 parent 4ce47d3 commit 606eab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/ERF.H
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 606eab1

Please sign in to comment.