-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix warnings #267
Fix warnings #267
Conversation
// if (useUMac) { | ||
// // TODO: find a way to get U^{n+1/2} from Umac | ||
// // For now get old time | ||
// Real oldtime = getTime(lev,AmrOldTime); | ||
// fillpatch_velocity(lev, oldtime, m_leveldata_floating->state, VELX, | ||
// m_nGrowState); | ||
// } |
Check notice
Code scanning / CodeQL
Commented-out code Note
@@ -25,7 +25,7 @@ | |||
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
|
||
state(i, j, k, TEMP) = prob_parm.T_mean; | ||
// Set up the Gaussian as the solution of the diffusion of a delta dirac | ||
// initial distribution after time gaussTime of a diffusion process with | ||
// constant diffusion coeff. gaussDiff. Use ampgauss to avoid | ||
// undershoot/overshoot of the 2-species mixture. | ||
const amrex::Real deltax = x - prob_parm.xgauss; | ||
const amrex::Real deltay = y - prob_parm.ygauss; | ||
// const amrex::Real deltay = y - prob_parm.ygauss; |
Check notice
Code scanning / CodeQL
Commented-out code Note
, const amrex::Real y = prob_lo[1] + (j + 0.5) * dx[1]; | ||
, const amrex::Real z = prob_lo[2] + (k + 0.5) * dx[2];); | ||
, 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
@@ -33,11 +33,9 @@ | |||
, 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 Ly = prob_hi[1] - prob_lo[1];*/ |
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
// 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
No description provided.