Skip to content

Commit

Permalink
fix trailing whitespace:
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguichandut committed Feb 19, 2025
1 parent 636b292 commit 80932cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Exec/science/convective_boundary/MaestroBaseState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ void Maestro::InitBaseState(BaseState<Real>& rho0, BaseState<Real>& rhoh0,

// define some helper functions with lambdas
auto get_rho0 = [=](Real z) {
// return the background density
// return the background density
return rho_b * std::pow(1.0_rt + 8.0_rt * X_b * z / (9.0_rt - 8.0_rt * X_b) / D, alpha);
};

Expand Down
4 changes: 2 additions & 2 deletions Exec/science/convective_boundary/MaestroHeating.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ void Maestro::MakeHeating(Vector<MultiFab>& rho_Hext,
if (problem_rp::do_cooling) {

const Real L_x = prob_hi[0];

Real x = (Real(i) + 0.5) * dx[0] + prob_lo[0];
Real y = (Real(j) + 0.5) * dx[1] + prob_lo[1];
Real top_y = prob_hi[1];
Real delta_y = top_y - y;

// Exponential decay from the top boundary
Real er = std::exp(- delta_y * delta_y / 1.e11);
rho_Hext_arr(i, j, k) = er * problem_rp::constant_heat_flux;
Expand Down

0 comments on commit 80932cb

Please sign in to comment.