Skip to content

Commit

Permalink
add level as input to accessors
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul1992 committed Oct 19, 2024
1 parent 606eab1 commit 765c355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/ERF.H
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ public:
void Evolve_MB (int MBstep, int max_block_step);

// 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];}
amrex::Real get_t_old (int lev) { return t_old[lev]; }
amrex::Real get_t_new (int lev) { return t_new[lev]; }
amrex::Real get_dt (int lev) { return dt[lev]; }

// Set parmparse prefix for MultiBlock
void SetParmParsePrefix (std::string name) { pp_prefix = name; }
Expand Down

0 comments on commit 765c355

Please sign in to comment.