Skip to content
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

Update amrex-hydro submodule #1174

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion amr-wind/equation_systems/AdvOp_Godunov.H
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ struct AdvectionOp<
dof_field.bcrec(), dof_field.bcrec_device().data(),
iconserv.data(), godunov_use_ppm,
godunov_use_forces_in_trans, is_velocity,
fluxes_are_area_weighted, advection_type, limiter_type);
fluxes_are_area_weighted, advection_type, limiter_type,
m_allow_inflow_on_outflow);
} else {
amrex::Abort("Invalid godunov scheme");
}
Expand Down Expand Up @@ -240,6 +241,7 @@ struct AdvectionOp<
std::string godunov_type;
const bool fluxes_are_area_weighted{false};
bool godunov_use_forces_in_trans{false};
const bool m_allow_inflow_on_outflow{false};
std::string advection_type{"Godunov"};
};

Expand Down
7 changes: 5 additions & 2 deletions amr-wind/equation_systems/icns/icns_advection.H
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ struct AdvectionOp<ICNS, fvm::Godunov>
w_mac(lev), dof_field.bcrec(),
dof_field.bcrec_device().data(), repo.mesh().Geom(lev), dt,
godunov_use_ppm, godunov_use_forces_in_trans,
premac_advection_type, limiter_type);
premac_advection_type, limiter_type,
m_allow_inflow_on_outflow);
} else {
amrex::Abort("Invalid godunov scheme");
}
Expand Down Expand Up @@ -447,7 +448,8 @@ struct AdvectionOp<ICNS, fvm::Godunov>
dof_field.bcrec_device().data(), iconserv.data(),
godunov_use_ppm, godunov_use_forces_in_trans,
is_velocity, fluxes_are_area_weighted,
postmac_advection_type, limiter_type);
postmac_advection_type, limiter_type,
m_allow_inflow_on_outflow);
} else {
amrex::Abort("Invalid godunov scheme");
}
Expand Down Expand Up @@ -535,6 +537,7 @@ struct AdvectionOp<ICNS, fvm::Godunov>
bool godunov_use_forces_in_trans{false};
int m_cons{1};
int m_verbose{0};
const bool m_allow_inflow_on_outflow{false};
std::string premac_advection_type{"Godunov"};
std::string postmac_advection_type{"Godunov"};
};
Expand Down