Skip to content

Commit

Permalink
add timer for initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Jan 13, 2025
1 parent 42ae26e commit c15b8ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,16 @@ int main(int argc, char* argv[])
const Real strt_total = Real(amrex::second());

{
BL_PROFILE_VAR("REMORA::InitData()", pinit);
// constructor - reads in parameters from inputs file
// - sizes multilevel arrays and data structures
REMORA remora;

// initialize AMR data
remora.InitData();

BL_PROFILE_VAR_STOP(pinit);

// advance solution to final time
remora.Evolve();

Expand Down

0 comments on commit c15b8ad

Please sign in to comment.