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

Fugacity functions update #35

Merged
merged 5 commits into from
Dec 7, 2023
Merged

Conversation

barche
Copy link
Collaborator

@barche barche commented Dec 6, 2023

Rebase and update of PR #33

@barche
Copy link
Collaborator Author

barche commented Dec 6, 2023

@chris-hampel-CA can you please check if this is OK? If so we can merge and release a new CoolProp.jl version.

src/CoolProp.jl Outdated
julia> AbstractState_free(handle);
```
"""
function AbstractState_get_fugacity_coefficient(handle::Clong, i::Integer) #TODO: maybe type this as an integer?
Copy link
Contributor

Choose a reason for hiding this comment

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

remove TODO comment

src/CoolProp.jl Outdated
@@ -926,6 +926,63 @@ function AbstractState_update(handle::Clong, input_pair::AbstractString, value1:
return nothing
end

#TODO: these functions will not work with CoolProp_jll 6.5. Needs new version released of current master from Sept 2023
Copy link
Contributor

Choose a reason for hiding this comment

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

remove TODO comment

@chris-hampel-CA
Copy link
Contributor

chris-hampel-CA commented Dec 7, 2023

Hi @barche

Looks good to me. You can double check by looking at the output of the example fugacity calls in the testLow.jl file to see if they match the float64 values shown in the function docstrings.

A couple comments should be removed that I called out, however.

Also, I noticed a few other changes in the runtests.jl file which were not my changes. As long as you know that section is ok, then this PR is ready to go.

Thanks!

@barche barche merged commit 78f4453 into CoolProp:master Dec 7, 2023
6 checks passed
@barche barche deleted the pr/chris-hampel-CA/33 branch December 7, 2023 19:41
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.

2 participants