Skip to content

Commit

Permalink
more leftover print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Jun 20, 2023
1 parent d4a9cd0 commit fca3d4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions Src/EB/AMReX_EB_Slopes_3D_K.H
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ amrex_calc_slopes_eb_grown (int i, int j, int k, int n, int nx, int ny, int nz,
A[lc][0] = ii + ccent(i+ii,j+jj,k+kk,0) - ccent(i,j,k,0);
A[lc][1] = jj + ccent(i+ii,j+jj,k+kk,1) - ccent(i,j,k,1);
A[lc][2] = kk + ccent(i+ii,j+jj,k+kk,2) - ccent(i,j,k,2);
if (i == 2 and j == 8 and k == 14) amrex::Print() << "A IS " << lc << " " << A[lc][0] << " " << A[lc][1] << std::endl;
}
lc++;
} // ii
Expand All @@ -396,8 +395,6 @@ amrex_calc_slopes_eb_grown (int i, int j, int k, int n, int nx, int ny, int nz,
amrex::Real yslope = slopes[1];
amrex::Real zslope = slopes[2];

if (i == 2 and j == 8 and k == 14) amrex::Print() << "MAKING SLOPE WITHOUT BDR " << slopes[0] << std::endl;

// This will over-write the values of xslope, yslope and/or zslope if appropriate
amrex_overwrite_with_regular_slopes(i,j,k,n,xslope,yslope,zslope,state,vfrac,max_order);

Expand Down Expand Up @@ -699,8 +696,6 @@ amrex_calc_slopes_extdir_eb_grown (int i, int j, int k, int n,
// are regular. If not, it uses the EB-aware least squares approach to fit a linear profile
// using the neighboring un-covered cells.
const auto& slopes = amrex_calc_slopes_eb_grown (i,j,k,n,nx,ny,nz,state,ccent,vfrac,flag,max_order);

if (i == 2 and j == 8 and k == 14) amrex::Print() << "MAKING SLOPE WITHOUT BDR " << slopes[0] << std::endl;
return slopes;

} else {
Expand Down Expand Up @@ -804,8 +799,6 @@ amrex_calc_slopes_extdir_eb_grown (int i, int j, int k, int n,
yslope = slopes[1];
zslope = slopes[2];

if (i == 2 and j == 8 and k == 14) amrex::Print() << "MAKING SLOPE WITH BDR " << slopes[0] << std::endl;

// This will over-write the values of xslope and yslope if appropriate
amrex_overwrite_with_regular_slopes_extdir(i,j,k,n,xslope,yslope,zslope,state,vfrac,
edlo_x,edlo_y,edlo_z,edhi_x,edhi_y,edhi_z,
Expand Down
4 changes: 0 additions & 4 deletions Src/EB/AMReX_EB_StateRedistribute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ StateRedistribute ( Box const& bx, int ncomp,
const auto& is_periodic_y = lev_geom.isPeriodic(1);,
const auto& is_periodic_z = lev_geom.isPeriodic(2););

// amrex::Print() << " IN STATE_REDISTRIBUTE DOING BOX " << bx << " with ncomp " << ncomp << std::endl;
// amrex::Print() << " Box(U_in) " << Box(U_in) << std::endl;
// amrex::Print() << " Box(U_out) " << Box(U_out) << std::endl;

Box const& bxg1 = amrex::grow(bx,1);
Box const& bxg2 = amrex::grow(bx,2);
Box const& bxg3 = amrex::grow(bx,3);
Expand Down

0 comments on commit fca3d4b

Please sign in to comment.