Skip to content

Commit

Permalink
fix white space
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Dec 12, 2023
1 parent 01987e5 commit d36d07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/IO/NCCheckpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ ERF::WriteNCCheckpointFile () const
// Here we make copies of the MultiFab with no ghost cells
for (int lev = 0; lev <= finest_level; ++lev) {

int nc_cons = vars_new[lev][Vars::cons].nComp();
int nc_cons = vars_new[lev][Vars::cons].nComp();
MultiFab cons(grids[lev],dmap[lev],nc_cons,0);
MultiFab::Copy(cons,vars_new[lev][Vars::cons],0,0,nc_cons,0);
WriteNCMultiFab(cons, amrex::MultiFabFileFullPrefix(lev, checkpointname, "Level_", "Cell"));
Expand Down Expand Up @@ -140,7 +140,7 @@ ERF::ReadNCCheckpointFile ()
const std::string ntime_name = "num_newtime";

const int nvar = static_cast<int>(ncf.dim(nvar_name).len());
const int nc_cons = vars_new[0][Vars::cons].nComp();
const int nc_cons = vars_new[0][Vars::cons].nComp();

AMREX_ALWAYS_ASSERT(nvar == nc_cons);

Expand Down

0 comments on commit d36d07f

Please sign in to comment.