Skip to content
Merged
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
10 changes: 10 additions & 0 deletions unit_test/burn_cell/burn_cell.H
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ void burn_cell_c()

state_over_time << std::setw(25) << "# Time";
state_over_time << std::setw(25) << "Temperature";
state_over_time << std::setw(25) << "Energy";
state_over_time << std::setw(25) << "Ye";
for(int x = 0; x < NumSpec; ++x){
const std::string& element = short_spec_names_cxx[x];
state_over_time << std::setw(25) << element;
Expand All @@ -128,8 +130,12 @@ void burn_cell_c()

amrex::Real t = 0.0;

composition(burn_state);

state_over_time << std::setw(25) << t;
state_over_time << std::setw(25) << burn_state.T;
state_over_time << std::setw(25) << burn_state.e;
state_over_time << std::setw(25) << burn_state.y_e;
for (double X : burn_state.xn) {
state_over_time << std::setw(25) << X;
}
Expand Down Expand Up @@ -177,8 +183,12 @@ void burn_cell_c()

t += dt;

composition(burn_state);

state_over_time << std::setw(25) << t;
state_over_time << std::setw(25) << burn_state.T;
state_over_time << std::setw(25) << burn_state.e;
state_over_time << std::setw(25) << burn_state.y_e;
for (double X : burn_state.xn) {
state_over_time << std::setw(25) << X;
}
Expand Down
Loading