Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaddy committed Aug 8, 2023
1 parent 297225b commit df7df09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 6 additions & 6 deletions src/grid/initial_conditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,12 +583,12 @@ void Grid3D::Riemann(parameters const &P)
#endif // SCALAR
#ifdef DE
C.GasEnergy[id] = P.P_r / (gama - 1.0);
#endif // DE
} // if diaph
} // if real
} // k
} // j
} // i
#endif // DE
}
}
}
}
}
}

/*! \fn void Shu_Osher()
Expand Down
8 changes: 0 additions & 8 deletions src/reconstruction/ppmc_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ __global__ void PPMC_CTU(Real *dev_conserved, Real *dev_bounds_L, Real *dev_boun
return;
}

/*
// Ensure that we are only operating on cells that will be used
if (size_t const min = 3, max = 3;
xid < min or xid >= nx - max or yid < min or yid >= ny - max or zid < min or zid >= nz - max) {
return;
}
*/

// Compute the total number of cells
int const n_cells = nx * ny * nz;

Expand Down

0 comments on commit df7df09

Please sign in to comment.