Skip to content

Commit

Permalink
Revert "Change indexing for JETSCAPE array to fix issue with x-y orie…
Browse files Browse the repository at this point in the history
…ntation"

This reverts commit 5672120.
  • Loading branch information
Hendrik1704 committed Nov 21, 2024
1 parent 5672120 commit fdcce5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ void Init::initial_with_jetscape(int ieta, Fields &arenaFieldsPrev,
for (int iy = 0; iy< ny; iy++) {
const double rhob = 0.0;
double epsilon = 0.0;
const int idx = (nx*neta)*ix + neta*iy + ieta;
const int idx = (ny*neta)*ix + neta*iy + ieta;
epsilon = (jetscape_initial_energy_density[idx]
*DATA.sFactor/hbarc); // 1/fm^4
epsilon = std::max(Util::small_eps, epsilon);
Expand Down

0 comments on commit fdcce5d

Please sign in to comment.