Skip to content
Open
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
8 changes: 4 additions & 4 deletions src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ KOKKOS_FORCEINLINE_FUNCTION void K_StoreHLLD( const int i, const int j, const in
const IdefixArray3D<real> &aR,
const IdefixArray3D<real> &dL,
const IdefixArray3D<real> &dR) {
EXPAND( const int Xn = DIR+MX1; ,
const int Xt = (DIR == IDIR ? MX2 : MX1); ,
const int Xb = (DIR == KDIR ? MX2 : MX3); )
EXPAND( const int Xn = DIR+MX1; ,
const int Xt = (DIR == IDIR ? MX2 : MX1); ,
[[maybe_unused]] const int Xb = (DIR == KDIR ? MX2 : MX3); )
// Compute magnetic pressure
[[maybe_unused]] real ptR, ptL;

Expand Down Expand Up @@ -201,7 +201,7 @@ KOKKOS_FORCEINLINE_FUNCTION void K_StoreHLLD( const int i, const int j, const in
}

#if COMPONENTS > 1
EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; ,
D_EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; ,
,
Eb(k,j,i) = -sb*(ar*vL[Xb] - al*vR[Xb])*scrh; );
#endif
Expand Down
Loading