File tree 13 files changed +39
-39
lines changed
13 files changed +39
-39
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t<do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T;
61
+ using number_t = std::conditional_t<do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed(temp);
66
66
}
67
- plasma_state_t<dual_t > pstate{};
67
+ plasma_state_t<number_t > pstate{};
68
68
fill_plasma_state(pstate, temp, state.rho, Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors(state.T);
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
Original file line number Diff line number Diff line change @@ -58,13 +58,13 @@ void evaluate_rates(const burn_t& state, T& rate_eval) {
58
58
59
59
// Calculate Reaclib rates
60
60
61
- using dual_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
- dual_t temp = state.T ;
61
+ using number_t = std::conditional_t <do_T_derivatives, autodiff::dual, amrex::Real>;
62
+ number_t temp = state.T ;
63
63
if constexpr (do_T_derivatives) {
64
64
// seed the dual number for temperature before calculating anything with it
65
65
autodiff::seed (temp);
66
66
}
67
- plasma_state_t <dual_t > pstate{};
67
+ plasma_state_t <number_t > pstate{};
68
68
fill_plasma_state (pstate, temp, state.rho , Y);
69
69
70
70
tf_t tfactors = evaluate_tfactors (state.T );
You can’t perform that action at this time.
0 commit comments