Skip to content

Commit

Permalink
Merge branch 'development' into HSE_Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Nov 21, 2024
2 parents 80247e8 + 9291ebe commit e4488cd
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 e4488cd

Please sign in to comment.