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

EAMxx: add field utility to scale with inverse of input field #6960

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

bartgol
Copy link
Contributor

@bartgol bartgol commented Jan 30, 2025

Similar to the existing Field::scale. It helps making unit tests (or non-perf critical code) easier to read.

[B4B]

@bartgol bartgol added BFB PR leaves answers BFB EAMxx PRs focused on capabilities for EAMxx labels Jan 30, 2025
@bartgol bartgol requested a review from AaronDonahue January 30, 2025 23:25
@bartgol bartgol self-assigned this Jan 30, 2025
@bartgol bartgol force-pushed the bartgol/eamxx/field-scale-inv branch from 833436e to cd9f86f Compare January 30, 2025 23:36
@bartgol bartgol requested a review from AaronDonahue January 30, 2025 23:36
Copy link
Contributor

@AaronDonahue AaronDonahue left a comment

Choose a reason for hiding this comment

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

Looks good to me, had a comment about adding another unit test for int that you are welcome to add.

@bartgol bartgol requested a review from AaronDonahue January 30, 2025 23:50
@bartgol bartgol force-pushed the bartgol/eamxx/field-scale-inv branch from 91f7383 to e1469f2 Compare January 31, 2025 20:03
@bartgol
Copy link
Contributor Author

bartgol commented Jan 31, 2025

I forced a rebase on master due to conflicts with next. I will merge to next/master as soon as CI passes, without waiting for aaron to review again.

bartgol added a commit that referenced this pull request Jan 31, 2025
Similar to the existing Field::scale. It helps making unit tests
(or non-perf critical code) easier to read.

[BFB]

Signed-off-by: Luca Bertagna <lbertag@sandia.gov>
@bartgol bartgol force-pushed the bartgol/eamxx/field-scale-inv branch from e1469f2 to 7adde68 Compare January 31, 2025 21:57
@AaronDonahue
Copy link
Contributor

@bartgol , is this good to go in now?

@bartgol
Copy link
Contributor Author

bartgol commented Feb 3, 2025

Yes!

@bartgol bartgol merged commit 625e040 into master Feb 3, 2025
18 checks passed
@bartgol bartgol deleted the bartgol/eamxx/field-scale-inv branch February 3, 2025 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BFB PR leaves answers BFB EAMxx PRs focused on capabilities for EAMxx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants