Skip to content

Commit

Permalink
revert comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Jun 5, 2024
1 parent eaac1d2 commit 7eae14b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Exec/science/subchandra/problem_initialize_state_data.H
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void problem_initialize_state_data (int i, int j, int k,
}

burn_t burn_state;

burn_state.rho = state(i,j,k,URHO);
burn_state.T = state(i,j,k,UTEMP);
for (int n = 0; n < NumSpec; n++) {
Expand All @@ -65,8 +66,6 @@ void problem_initialize_state_data (int i, int j, int k,
state(i,j,k,UEINT) = state(i,j,k,URHO) * burn_state.e;
state(i,j,k,UEDEN) = state(i,j,k,URHO) * burn_state.e;

// UFS is rho*Xn

for (int n = 0; n < NumSpec; n++) {
state(i,j,k,UFS+n) = state(i,j,k,URHO) * state(i,j,k,UFS+n);
}
Expand Down

0 comments on commit 7eae14b

Please sign in to comment.