Repository navigation
Free energy amplitude scaling - #670
Merged
Merged
Conversation
buechlerm
commented
Nov 23, 2026
| // transformation is valid only while amplitude is positive and fixed with | ||
| // respect to thermodynamic derivatives. | ||
| template <typename T> | ||
| class FreeEnergyAmplitudeScaling : public EosBase<FreeEnergyAmplitudeScaling<T>> { |
Collaborator
Author
There was a problem hiding this comment.
Descriptive but long. If someone proposed a shorter name, I wouldn't fight it.
Collaborator
There was a problem hiding this comment.
I suppose ScaledFreeEnergy is along the lines of the existing ScaledEOS
Collaborator
There was a problem hiding this comment.
Actually, thinking more about it, we probably do want to use Scaled somewhere in the name to keep with the past tense theme
Collaborator
Author
There was a problem hiding this comment.
Thanks, ScaledFreeEnergy it is.
adamdempsey90
approved these changes
Nov 23, 2026
Yurlungur
approved these changes
Nov 23, 2026
Collaborator
|
Merge when ready (and tests pass on re-git) |
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.
Yet another eos scaling. In this scaling, a scale factor is applied to the magnitude of a free energy potential (whether the eos exposes such a thing or not). Then carries that scaling through the Maxwell relations and chain rule derivatives to apply the scaling to all thermodynamic properties.
PR Summary
This is a capability requested by some singularity-eos users and is important in further adoption.
PR Checklist
make formatcommand after configuring withcmake.plan_historiesfolder, with a filename the same as the MR number.If preparing for a new release, in addition please check the following: