Entropy scaling correlation functions for mixtures#323
Merged
g-bauer merged 3 commits intofeos-org:mainfrom Dec 4, 2025
Merged
Entropy scaling correlation functions for mixtures#323g-bauer merged 3 commits intofeos-org:mainfrom
g-bauer merged 3 commits intofeos-org:mainfrom
Conversation
Contributor
|
Thanks! Is this a fix for something that went wrong from 0.8.0 to 0.9.0 (the conversion from ndarray to nalgebra in this case) or something that was just not used so far? I'm a bit lost. |
Contributor
|
Yeah this basically broke when rewriting it from ndarray to nalgebra: let m = (x * &self.params.m).sum(); // <--- was: (*) does matmul, not component_mul in nalgebra
let m = x.dot(&self.params.m); // <--- should be the dot productChanging We currently only test pure systems and hence this error was not caught. |
added 2 commits
December 4, 2025 13:45
self-diffusion) corrected to be able to calculate mixtures.
a9ab786 to
be1f67c
Compare
g-bauer
approved these changes
Dec 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The PC-SAFT entropy scaling correlation functions handle mixtures correctly: parameter "mixing" corrected.