Skip to content

Commit

Permalink
add comments only
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Nov 21, 2024
1 parent d7d3c29 commit d6a11c6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/SourceTerms/ERF_make_buoyancy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ void make_buoyancy (Vector<MultiFab>& S_data,
if (solverChoice.moisture_type == MoistureType::None) {
ParallelFor(tbz, [=] AMREX_GPU_DEVICE (int i, int j, int k)
{
//
// Return -rho0 g (thetaprime / theta0)
//
buoyancy_fab(i, j, k) = buoyancy_dry_anelastic(i,j,k,
grav_gpu[2],
r0_arr,p0_arr,cell_data);
Expand All @@ -86,6 +89,9 @@ void make_buoyancy (Vector<MultiFab>& S_data,
// of bounds error since it depends upon the surface theta_l
ParallelFor(tbz, [=] AMREX_GPU_DEVICE (int i, int j, int k)
{
//
// Return -rho0 g (thetaprime / theta0)
//
buoyancy_fab(i, j, k) = buoyancy_moist_anelastic(i,j,k,
grav_gpu[2],rv_over_rd,
r0_arr,th0_arr,cell_data);
Expand Down

0 comments on commit d6a11c6

Please sign in to comment.