Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate obsolete methods #1295

Merged
merged 6 commits into from May 30, 2022
Merged

Deprecate obsolete methods #1295

merged 6 commits into from May 30, 2022

Conversation

ischoegl
Copy link
Member

@ischoegl ischoegl commented May 29, 2022

Changes proposed in this pull request

  • Deprecate methods slated for deprecation after removal of legacy rate evaluators
  • Remove setup_cantera scripts
  • Add CI runner for GCC 5.5.0

If applicable, fill in the issue number this pull request is fixing

Closes Cantera/enhancements#135, closes #1280

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

@codecov
Copy link

codecov bot commented May 29, 2022

Codecov Report

Merging #1295 (6b347e2) into main (c040b12) will decrease coverage by 0.07%.
The diff coverage is 29.72%.

@@            Coverage Diff             @@
##             main    #1295      +/-   ##
==========================================
- Coverage   67.26%   67.18%   -0.08%     
==========================================
  Files         314      314              
  Lines       41887    41904      +17     
  Branches    16852    16863      +11     
==========================================
- Hits        28174    28155      -19     
- Misses      11483    11518      +35     
- Partials     2230     2231       +1     
Impacted Files Coverage Δ
include/cantera/kinetics/ChebyshevRate.h 98.27% <ø> (ø)
include/cantera/kinetics/Falloff.h 80.00% <0.00%> (-1.36%) ⬇️
include/cantera/kinetics/InterfaceRate.h 87.95% <ø> (ø)
include/cantera/kinetics/PlogRate.h 91.11% <ø> (-0.56%) ⬇️
include/cantera/kinetics/Reaction.h 80.95% <0.00%> (-13.50%) ⬇️
include/cantera/kinetics/ReactionRate.h 80.00% <0.00%> (-4.10%) ⬇️
src/kinetics/InterfaceRate.cpp 88.00% <0.00%> (-3.08%) ⬇️
src/kinetics/PlogRate.cpp 91.48% <25.00%> (-3.02%) ⬇️
src/kinetics/Falloff.cpp 79.81% <30.00%> (-5.54%) ⬇️
src/kinetics/Kinetics.cpp 69.41% <100.00%> (ø)
... and 3 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@ischoegl ischoegl marked this pull request as ready for review May 29, 2022 23:02
@ischoegl ischoegl requested a review from speth May 29, 2022 23:02
Copy link
Member

@speth speth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me. I just found two typos -- the one below, and one in the commit message mentioning "ubuntu-18.05"

include/cantera/kinetics/PlogRate.h Outdated Show resolved Hide resolved
Reaction::check (renamed from no-argument Reaction::validate)
does not require a Kinetics object; nomenclature reflects
ReactionRate::check and ReactionRate::validate.
@ischoegl
Copy link
Member Author

@speth ... thanks for the prompt review! Things should be ready to go ...

@speth speth merged commit 7c7c83b into Cantera:main May 30, 2022
@ischoegl ischoegl deleted the cleanup-code branch May 30, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Add GH Action testing minimal GCC requirements Deprecate and remove setup_cantera scripts
2 participants