Skip to content

Commit

Permalink
Move more functionality into AMReX-Hydro (Exawind#1202)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: Marc Henry de Frahan <[email protected]>
  • Loading branch information
2 people authored and mbkuhn committed Aug 22, 2024
1 parent c86cf41 commit cc8bbef
Show file tree
Hide file tree
Showing 11 changed files with 162 additions and 2,009 deletions.
1 change: 0 additions & 1 deletion amr-wind/convection/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
target_sources(${amr_wind_lib_name}
PRIVATE
#C++
incflo_godunov_advection.cpp
incflo_mol_fluxes.cpp
)
22 changes: 0 additions & 22 deletions amr-wind/convection/Godunov.H
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,10 @@
#ifndef Godunov_H
#define Godunov_H

#include "amr-wind/core/FieldRepo.H"

namespace godunov {

enum class scheme { PLM, PPM, PPM_NOLIM, BDS, WENO_JS, WENOZ, MINMOD, UPWIND };

void compute_fluxes(
int lev,
amrex::Box const& bx,
int ncomp,
amrex::Array4<amrex::Real> const& fx,
amrex::Array4<amrex::Real> const& fy,
amrex::Array4<amrex::Real> const& fz,
amrex::Array4<amrex::Real const> const& q,
amrex::Array4<amrex::Real const> const& umac,
amrex::Array4<amrex::Real const> const& vmac,
amrex::Array4<amrex::Real const> const& wmac,
amrex::Array4<amrex::Real const> const& fq,
amrex::BCRec const* pbc,
int const* iconserv,
amrex::Real* p,
amrex::Vector<amrex::Geometry> geom,
amrex::Real dt,
godunov::scheme godunov_scheme,
bool godunov_use_forces_in_trans);

} // namespace godunov

#endif /* Godunov_H */
Loading

0 comments on commit cc8bbef

Please sign in to comment.