diff --git a/Src/EB/AMReX_EB2_3D_C.cpp b/Src/EB/AMReX_EB2_3D_C.cpp index 3098cffe00e..55a86e23ec0 100644 --- a/Src/EB/AMReX_EB2_3D_C.cpp +++ b/Src/EB/AMReX_EB2_3D_C.cpp @@ -489,7 +489,9 @@ int build_faces (Box const& bx, Array4 const& cell, stlobj.fill(flag_xbx,{0,0,0}, geom, -1.0, 1.0); // write plot file - WriteSingleLevelPlotfile("plt.x", flag_xbx, {"marker_x"}, geom, 0.0, 0); + std::string m_plot_file{"plt.x."}; + const std::string& plotfilename = amrex::Concatenate(m_plot_file, *hp); + WriteSingleLevelPlotfile(plotfilename, flag_xbx, {"marker_x"}, geom, 0.0, 0); // Finished plot file ---------------------------------------------------------------- int ncuts = 0; @@ -696,7 +698,9 @@ int build_faces (Box const& bx, Array4 const& cell, stlobj.fill(flag_ybx,{0,0,0}, geom, -1.0, 1.0); // write plot file - WriteSingleLevelPlotfile("plt.y", flag_ybx, {"marker_y"}, geom, 0.0, 0); + std::string m_plot_file{"plt.y."}; + const std::string& plotfilename = amrex::Concatenate(m_plot_file, *hp); + WriteSingleLevelPlotfile(plotfilename, flag_ybx, {"marker_y"}, geom, 0.0, 0); // Finished plot file ---------------------------------------------------------------- int ncuts = 0; @@ -901,7 +905,9 @@ int build_faces (Box const& bx, Array4 const& cell, stlobj.fill(flag_zbx,{0,0,0}, geom, -1.0, 1.0); // write plot file - WriteSingleLevelPlotfile("plt.z", flag_zbx, {"marker_z"}, geom, 0.0, 0); + std::string m_plot_file{"plt.z."}; + const std::string& plotfilename = amrex::Concatenate(m_plot_file, *hp); + WriteSingleLevelPlotfile(plotfilename, flag_zbx, {"marker_z"}, geom, 0.0, 0); // Finished plot file ---------------------------------------------------------------- int ncuts = 0; diff --git a/Src/EB/AMReX_EB2_Level.H b/Src/EB/AMReX_EB2_Level.H index 6c98ea5cb0e..5294c6c95a3 100644 --- a/Src/EB/AMReX_EB2_Level.H +++ b/Src/EB/AMReX_EB2_Level.H @@ -423,14 +423,10 @@ GShopLevel::define_fine (G const& gshop, const Geometry& geom, Array4 const& ym2 = M2[1].array(); Array4 const& zm2 = M2[2].array(); - amrex::Print() << "HERE-Level" << "\n"; // EY - nmc = build_faces(vbx, cfg, ftx, fty, ftz, xdg, ydg, zdg, lst, xip, yip, zip, apx, apy, apz, fcx, fcy, fcz, xm2, ym2, zm2, dx, problo, cover_multiple_cuts); - amrex::Print() << "HERE-after build faces" << "\n"; // EY - cellflagtmp.resize(m_cellflag[mfi].box()); Elixir cellflagtmp_eli = cellflagtmp.elixir(); Array4 const& cfgtmp = cellflagtmp.array();