There was an error while loading. Please reload this page.
1 parent dc80444 commit 901b4fcCopy full SHA for 901b4fc
1 file changed
src/fluid/RiemannSolver/MHDsolvers/storeFlux.hpp
@@ -62,8 +62,8 @@ KOKKOS_FORCEINLINE_FUNCTION void K_StoreHLL( const int i, const int j, const int
62
real al = std::fmin(ZERO_F, sl);
63
real scrh = ONE_F/(ar - al);
64
65
- #if COMPONENTS > 1
66
- EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; ,
+ #if DIMENSIONS > 1
+ D_EXPAND( Et(k,j,i) = -st*(ar*vL[Xt] - al*vR[Xt])*scrh; ,
67
,
68
Eb(k,j,i) = -sb*(ar*vL[Xb] - al*vR[Xb])*scrh; );
69
#endif
0 commit comments