Skip to content

Commit

Permalink
Update Src/AmrCore/AMReX_AmrMesh.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Weiqun Zhang <[email protected]>
  • Loading branch information
akashdhruv and WeiqunZhang authored Sep 28, 2023
1 parent 0d0d8fb commit 8675c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/AmrCore/AMReX_AmrMesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ AmrMesh::MakeNewGrids (Real time)
int ngrids = AMREX_D_TERM(top[0],*top[1],*top[2]);
std::vector<int> includes(ngrids,1);

btmesh = std::make_shared<bittree::BittreeAmr>(top.data(),includes.data());
btmesh = std::make_unique<bittree::BittreeAmr>(top.data(),includes.data());

// Set BCs
for(int d=0; d<AMREX_SPACEDIM; ++d) {
Expand Down

0 comments on commit 8675c4c

Please sign in to comment.