Skip to content

Commit

Permalink
fix compilation error and call 2D uv3dmix with Drhs not Drhs_p
Browse files Browse the repository at this point in the history
  • Loading branch information
hklion committed Sep 6, 2023
1 parent a8de3fc commit c30e6f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Source/ROMSX.H
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ public:
amrex::Array4<amrex::Real> pden,
amrex::Array4<amrex::Real> Hz,
amrex::Array4<amrex::Real> z_w,
amrex::Array4<amrex::Real> h,
const int nrhs, const int N);

void prsgrd (const amrex::Box& bx,
Expand Down
2 changes: 1 addition & 1 deletion Source/TimeIntegration/ROMSX_advance_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ ROMSX::advance_2d (int lev,
Drhs(i,j-1,0)+Drhs(i-1,j-1,0));
});

uv3dmix(bxD, ubar, vbar, rhs_ubar, rhs_vbar, visc2_p, visc2_r, Drhs_p, on_r, om_r, on_p, om_p, pn, pm, krhs, nnew, 0.0);
uv3dmix(bxD, ubar, vbar, rhs_ubar, rhs_vbar, visc2_p, visc2_r, Drhs, on_r, om_r, on_p, om_p, pn, pm, krhs, nnew, 0.0);

//Coupling from 3d to 2d
/////////Coupling of 3d updates to 2d predictor-corrector
Expand Down

0 comments on commit c30e6f0

Please sign in to comment.