diff --git a/external/parthenon b/external/parthenon index 3220e700..7f37e76a 160000 --- a/external/parthenon +++ b/external/parthenon @@ -1 +1 @@ -Subproject commit 3220e700119bc60137ca335a858156fbfd0fae24 +Subproject commit 7f37e76ab488d676e35c305312144020b5cf4ee0 diff --git a/src/pgen/cloud.cpp b/src/pgen/cloud.cpp index b496dd2d..f6d767d8 100644 --- a/src/pgen/cloud.cpp +++ b/src/pgen/cloud.cpp @@ -222,9 +222,10 @@ void InflowWindX2(std::shared_ptr> &mbd, bool coarse) { const auto rhoe_wind_ = rhoe_wind; const auto Bx_ = Bx; const auto By_ = By; + const bool fine = false; pmb->par_for_bndry( "InflowWindX2", nb, IndexDomain::inner_x2, parthenon::TopologicalElement::CC, - coarse, KOKKOS_LAMBDA(const int, const int &k, const int &j, const int &i) { + coarse, fine, KOKKOS_LAMBDA(const int &b, const int &k, const int &j, const int &i) { cons(IDN, k, j, i) = rho_wind_; cons(IM2, k, j, i) = mom_wind_; cons(IEN, k, j, i) = rhoe_wind_ + 0.5 * mom_wind_ * mom_wind_ / rho_wind_;