-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update PelePhysics. Fix some unused variables. #261
Conversation
20e4f64
to
004c3e1
Compare
/* | ||
AMREX_D_TERM(const amrex::Real x = prob_lo[0] + (i + 0.5) * dx[0]; | ||
, const amrex::Real y = prob_lo[1] + (j + 0.5) * dx[1]; | ||
, const amrex::Real z = prob_lo[2] + (k + 0.5) * dx[2];); | ||
|
||
AMREX_D_TERM(const amrex::Real Lx = prob_hi[0] - prob_lo[0]; | ||
, const amrex::Real Ly = prob_hi[1] - prob_lo[1]; | ||
, const amrex::Real Lz = prob_hi[2] - prob_lo[2]); | ||
|
||
constexpr amrex::Real Pi = 3.14159265358979323846264338327950288; | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
// const amrex::Real* prob_lo = geomdata.ProbLo(); | ||
// const amrex::Real* prob_hi = geomdata.ProbHi(); | ||
// const amrex::Real* dx = geomdata.CellSize(); |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* | ||
AMREX_D_TERM(const amrex::Real Lx = prob_hi[0] - prob_lo[0]; | ||
, const amrex::Real Ly = prob_hi[1] - prob_lo[1]; | ||
, const amrex::Real Lz = prob_hi[2] - prob_lo[2]); | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -41,7 +41,7 @@ | |||
, const amrex::Real yc = prob_lo[1] + 0.5 * Ly; | |||
, const amrex::Real zc = prob_lo[2] + 0.5 * Lz;); | |||
|
|||
constexpr amrex::Real Pi = 3.14159265358979323846264338327950288; | |||
// constexpr amrex::Real Pi = 3.14159265358979323846264338327950288; |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* | ||
AMREX_D_TERM(const amrex::Real x_c = prob_lo[0] + 0.5 * Lx; | ||
, const amrex::Real y_c = prob_lo[1] + 0.5 * Ly; | ||
, const amrex::Real z_c = prob_lo[2] + 0.5 * Lz); | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* AMREX_D_TERM(const amrex::Real Lx = prob_hi[0] - prob_lo[0]; | ||
, const amrex::Real Ly = prob_hi[1] - prob_lo[1]; | ||
, const amrex::Real Lz = prob_hi[2] - prob_lo[2]);*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* | ||
AMREX_D_TERM(const amrex::Real x = prob_lo[0] + (i + 0.5) * dx[0]; | ||
, const amrex::Real y = prob_lo[1] + (j + 0.5) * dx[1]; | ||
, const amrex::Real z = prob_lo[2] + (k + 0.5) * dx[2];); | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
// const amrex::Real* prob_lo = geomdata.ProbLo(); | ||
// const amrex::Real* prob_hi = geomdata.ProbHi(); | ||
// const amrex::Real* dx = geomdata.CellSize(); |
Check notice
Code scanning / CodeQL
Commented-out code Note
/* | ||
AMREX_D_TERM(const amrex::Real Lx = prob_hi[0] - prob_lo[0]; | ||
, const amrex::Real Ly = prob_hi[1] - prob_lo[1]; | ||
, const amrex::Real Lz = prob_hi[2] - prob_lo[2]); | ||
AMREX_D_TERM(const amrex::Real x_c = prob_lo[0] + 0.5 * Lx; | ||
, const amrex::Real y_c = prob_lo[1] + 0.5 * Ly; | ||
, const amrex::Real z_c = prob_lo[2] + 0.5 * Lz); | ||
*/ |
Check notice
Code scanning / CodeQL
Commented-out code Note
amrex::GeometryData const& geomdata, | ||
ProbParm const& prob_parm, | ||
pele::physics::PMF::PmfData::DataContainer const* /*pmf_data*/) | ||
{ | ||
const amrex::Real* prob_lo = geomdata.ProbLo(); | ||
const amrex::Real* prob_hi = geomdata.ProbHi(); | ||
// const amrex::Real* prob_hi = geomdata.ProbHi(); |
Check notice
Code scanning / CodeQL
Commented-out code Note
No description provided.