diff --git a/src/bvals/comms/bnd_info.cpp b/src/bvals/comms/bnd_info.cpp index 4dd5629c8cd4..1bb42607dfdd 100644 --- a/src/bvals/comms/bnd_info.cpp +++ b/src/bvals/comms/bnd_info.cpp @@ -199,7 +199,6 @@ int GetBufferSize(std::shared_ptr pmb, const NeighborBlock &nb, const int isize = cb.ie(in) - cb.is(in) + 2; const int jsize = cb.je(in) - cb.js(in) + 2; const int ksize = cb.ke(in) - cb.ks(in) + 2; - return 8 * 8 * 16; return (nb.ni.ox1 == 0 ? isize : Globals::nghost + 1) * (nb.ni.ox2 == 0 ? jsize : Globals::nghost + 1) * (nb.ni.ox3 == 0 ? ksize : Globals::nghost + 1) * v->GetDim(6) * v->GetDim(5) * diff --git a/src/mesh/mesh-gmg.cpp b/src/mesh/mesh-gmg.cpp index 8083d8c328d9..5ad72e61dca5 100644 --- a/src/mesh/mesh-gmg.cpp +++ b/src/mesh/mesh-gmg.cpp @@ -136,7 +136,6 @@ void Mesh::BuildGMGHierarchy(int nbs, ParameterInput *pin, ApplicationInput *app gmg_level_offset = std::min(dir_allowed_levels, gmg_level_offset); } } - gmg_level_offset = 0; printf("Root grid nrb=(%i, %i) block_size=(%i, %i) level=%i\n", nrbx[0], nrbx[0], block_size_default.nx(X1DIR), block_size_default.nx(X2DIR), root_level);