32 bool include_bndry_corners =
false);
67 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
68 bool is_velocity,
bool fluxes_are_area_weighted,
69 std::string
const& advection_type,
71 bool allow_inflow_on_outflow =
false,
101 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
102 bool is_velocity,
bool fluxes_are_area_weighted,
103 std::string
const& advection_type,
105 bool allow_inflow_on_outflow =
false,
135 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
136 bool is_velocity,
bool fluxes_are_area_weighted,
137 std::string
const& advection_type,
139 bool allow_inflow_on_outflow =
false,
170 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
171 bool is_velocity,
bool fluxes_are_area_weighted,
172 std::string
const& advection_type,
174 bool allow_inflow_on_outflow =
false,
205 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
206 bool is_velocity,
bool fluxes_are_area_weighted,
207 std::string
const& advection_type,
209 bool allow_inflow_on_outflow =
false,
242 bool godunov_use_ppm,
bool godunov_use_forces_in_trans,
243 bool is_velocity,
bool fluxes_are_area_weighted,
244 std::string
const& advection_type,
246 bool allow_inflow_on_outflow =
false,
261 bool godunov_ppm,
bool godunov_use_forces_in_trans,
262 std::string
const& advection_type,
264 bool allow_inflow_on_outflow =
false);
281 bool godunov_ppm,
bool godunov_use_forces_in_trans,
282 std::string
const& advection_type,
284 bool allow_inflow_on_outflow =
false,
303 std::string
const& advection_type);
320 bool fluxes_are_area_weighted,
321 int const* iconserv);
335 bool fluxes_are_area_weighted);
354 bool fluxes_are_area_weighted,
355 int const* iconserv);
358 void EB_ComputeDivergence (
amrex::Box const& bx,
366 bool fluxes_are_area_weighted);
369 void EB_ComputeDivergence (
amrex::Box const& bx,
377 bool fluxes_are_area_weighted,
#define AMREX_D_DECL(a, b, c)
void enforceInOutSolvability(const Vector< Array< MultiFab *, AMREX_SPACEDIM >> &vels_vec, const BCRec *bc_type, const Vector< Geometry > &geom, bool include_bndry_corners)
Definition: hydro_enforce_inout_solvability.cpp:280
void ExtrapVelToFaces(amrex::MultiFab const &vel, amrex::MultiFab const &vel_forces, AMREX_D_DECL(amrex::MultiFab &u_mac, amrex::MultiFab &v_mac, amrex::MultiFab &w_mac), amrex::Vector< amrex::BCRec > const &h_bcrec, amrex::BCRec const *d_bcrec, const amrex::Geometry &geom, amrex::Real dt, bool godunov_ppm, bool godunov_use_forces_in_trans, std::string const &advection_type, int limiter_type=PPM::default_limiter, bool allow_inflow_on_outflow=false, amrex::iMultiFab *BC_MF=nullptr)
Definition: hydro_extrap_vel_to_faces.cpp:42
Definition: hydro_enforce_inout_solvability.cpp:11
void ComputeConvectiveTerm(amrex::Box const &bx, int num_comp, amrex::MFIter &mfi, amrex::Array4< amrex::Real const > const &q, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &q_on_face_x, amrex::Array4< amrex::Real const > const &q_on_face_y, amrex::Array4< amrex::Real const > const &q_on_face_z), amrex::Array4< amrex::Real const > const &divu, amrex::Array4< amrex::Real > const &convTerm, int const *iconserv, std::string const &advection_type)
If convective, compute convTerm = u dot grad q = div (u q) - q div(u).
void ComputeDivergence(amrex::Box const &bx, amrex::Array4< amrex::Real > const &div, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &fx, amrex::Array4< amrex::Real const > const &fy, amrex::Array4< amrex::Real const > const &fz), int ncomp, amrex::Geometry const &geom, amrex::Real mult, bool fluxes_are_area_weighted)
Compute divergence.
void ComputeFluxesOnBoxFromState(amrex::Box const &bx, int ncomp, amrex::MFIter &mfi, amrex::Array4< amrex::Real const > const &q, amrex::Array4< amrex::Real const > const &qnph, AMREX_D_DECL(amrex::Array4< amrex::Real > const &flux_x, amrex::Array4< amrex::Real > const &flux_y, amrex::Array4< amrex::Real > const &flux_z), AMREX_D_DECL(amrex::Array4< amrex::Real > const &face_x, amrex::Array4< amrex::Real > const &face_y, amrex::Array4< amrex::Real > const &face_z), bool knownFaceState, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_mac, amrex::Array4< amrex::Real const > const &v_mac, amrex::Array4< amrex::Real const > const &w_mac), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_flux, amrex::Array4< amrex::Real const > const &v_flux, amrex::Array4< amrex::Real const > const &w_flux), amrex::Array4< amrex::Real const > const &divu, amrex::Array4< amrex::Real const > const &fq, amrex::Geometry geom, amrex::Real l_dt, amrex::Vector< amrex::BCRec > const &h_bcrec, const amrex::BCRec *d_bcrec, int const *iconserv, bool godunov_use_ppm, bool godunov_use_forces_in_trans, bool is_velocity, bool fluxes_are_area_weighted, std::string const &advection_type, int limiter_type=PPM::default_limiter, bool allow_inflow_on_outflow=false, amrex::Array4< int const > const &bc_arr={})
Compute edge state and flux. Most general version for use with multilevel synchronization....
void ComputeFluxes(amrex::Box const &bx, AMREX_D_DECL(amrex::Array4< amrex::Real > const &fx, amrex::Array4< amrex::Real > const &fy, amrex::Array4< amrex::Real > const &fz), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &umac, amrex::Array4< amrex::Real const > const &vmac, amrex::Array4< amrex::Real const > const &wmac), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &xed, amrex::Array4< amrex::Real const > const &yed, amrex::Array4< amrex::Real const > const &zed), amrex::Geometry const &geom, int ncomp, bool fluxes_are_area_weighted, int const *iconserv)
Compute Fluxes.
static constexpr int default_limiter
Definition: hydro_godunov_ppm.H:86