Skip to content

Commit

Permalink
Temporary patch, doesn't fix device capture.
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi committed Nov 28, 2023
1 parent a98b66f commit 94fc1d0
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 103 deletions.
14 changes: 10 additions & 4 deletions Exec/SquallLine_2D/prob.H
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
#include <string>

#include "AMReX_REAL.H"
#include "AMReX_ParmParse.H"
#include "AMReX_MultiFab.H"

#include "prob_common.H"
#include "EOS.H"
#include "IndexDefines.H"
#include "TileNoZ.H"

struct ProbParm : ProbParmDefaults {
amrex::Real T_0 = 300.0; // surface temperature == mean potential temperature
Expand All @@ -20,6 +25,7 @@ struct ProbParm : ProbParmDefaults {
amrex::Real C_p = 1004.0;
}; // namespace ProbParm


class Problem : public ProblemBase
{
public:
Expand Down Expand Up @@ -56,9 +62,9 @@ public:


void erf_init_dens_hse_moist (amrex::MultiFab& rho_hse,
std::unique_ptr<amrex::MultiFab>& z_phys_nd,
std::unique_ptr<amrex::MultiFab>& z_phys_cc,
amrex::Geometry const& geom) override;
std::unique_ptr<amrex::MultiFab>& z_phys_nd,
std::unique_ptr<amrex::MultiFab>& z_phys_cc,
amrex::Geometry const& geom) override;

void init_custom_terrain (
const amrex::Geometry& geom,
Expand All @@ -74,7 +80,7 @@ public:
amrex::Geometry const& geom) override;

protected:
std::string name() override { return "Supercell"; }
std::string name () override { return "Supercell"; }

private:
ProbParm parms;
Expand Down
Loading

0 comments on commit 94fc1d0

Please sign in to comment.