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

Add set_equivalence_ratio to SolutionArray objects #677

Merged

Conversation

ischoegl
Copy link
Member

@ischoegl ischoegl commented Aug 6, 2019

Please fill in the issue number this pull request is fixing:

Fixes #604

Changes proposed in this pull request:

  • Wrap ThermoPhase.set_equivalence_ratio, and check dimensions
  • Add unit test

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.

I had an alternative suggestion for mapping the input equivalence ratio to an array of the appropriate shape.

interfaces/cython/cantera/composite.py Outdated Show resolved Hide resolved
interfaces/cython/cantera/composite.py Outdated Show resolved Hide resolved
interfaces/cython/cantera/composite.py Outdated Show resolved Hide resolved
@ischoegl ischoegl force-pushed the add-set-equivalence-ratio-to-solution-array branch from 205a78a to 201a5f8 Compare August 6, 2019 20:59
@ischoegl
Copy link
Member Author

ischoegl commented Aug 6, 2019

Done and pushed. Let's see whether unit tests do their job ...

@ischoegl ischoegl force-pushed the add-set-equivalence-ratio-to-solution-array branch from 201a5f8 to c31a351 Compare August 6, 2019 21:02
@codecov
Copy link

codecov bot commented Aug 6, 2019

Codecov Report

Merging #677 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #677      +/-   ##
==========================================
+ Coverage   70.62%   70.62%   +<.01%     
==========================================
  Files         372      372              
  Lines       43565    43565              
==========================================
+ Hits        30768    30769       +1     
+ Misses      12797    12796       -1
Impacted Files Coverage Δ
src/transport/GasTransport.cpp 90.58% <0%> (+0.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbdc790...c31a351. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Aug 6, 2019

Codecov Report

Merging #677 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #677      +/-   ##
==========================================
+ Coverage   70.62%   70.62%   +<.01%     
==========================================
  Files         372      372              
  Lines       43565    43565              
==========================================
+ Hits        30768    30769       +1     
+ Misses      12797    12796       -1
Impacted Files Coverage Δ
src/transport/GasTransport.cpp 90.58% <0%> (+0.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bbdc790...c31a351. Read the comment docs.

@ischoegl
Copy link
Member Author

ischoegl commented Aug 6, 2019

unit tests work ;)

@speth speth merged commit 97356a4 into Cantera:master Aug 9, 2019
@ischoegl ischoegl deleted the add-set-equivalence-ratio-to-solution-array branch August 16, 2019 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add set_equivalence_ratio to SolutionArray objects
2 participants