Skip to content

Commit

Permalink
[Kinetics] Implement band aid for plog validations
Browse files Browse the repository at this point in the history
The previous set of temperatures used for validation of P-log rates
is a somewhat arbitrary set. Some mechanisms fail for 200 K but
work fine for 300 K and up. Work-around discussed in Cantera#1405.
  • Loading branch information
ischoegl committed Jul 24, 2023
1 parent 5f1014c commit 3258c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kinetics/PlogRate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void PlogRate::validate(const std::string& equation, const Kinetics& kin)
}

fmt::memory_buffer err_reactions;
double T[] = {200.0, 500.0, 1000.0, 2000.0, 5000.0, 10000.0};
double T[] = {300.0, 500.0, 1000.0, 2000.0, 5000.0, 10000.0};
PlogData data;

for (auto iter = ++pressures_.begin(); iter->first < 1000; iter++) {
Expand Down

0 comments on commit 3258c2e

Please sign in to comment.