Skip to content

Commit

Permalink
Make regrid method of Amr class public (AMReX-Codes#2833)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximumcats authored Jun 13, 2022
1 parent 4c7b639 commit eecb81e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Src/Amr/AMReX_Amr.H
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ public:
int numGrids (int lev) noexcept;
//! More work to be done?
int okToContinue () noexcept;
//! Rebuild grid hierarchy finer than lbase.
virtual void regrid (int lbase,
Real time,
bool initial = false) override;
//! Regrid only!
void RegridOnly (Real time, bool do_io = true);
//! Should we regrid this level?
Expand Down Expand Up @@ -340,10 +344,6 @@ protected:
void defBaseLevel (Real start_time, const BoxArray* lev0_grids = 0, const Vector<int>* pmap = 0);
//! Define and initialize refined levels.
void bldFineLevels (Real start_time);
//! Rebuild grid hierarchy finer than lbase.
virtual void regrid (int lbase,
Real time,
bool initial = false) override;
//! Regrid level 0 on restart.
virtual void regrid_level_0_on_restart ();
//! Define new grid locations (called from regrid) and put into new_grids.
Expand Down

0 comments on commit eecb81e

Please sign in to comment.