Skip to content

Conversation

@JanosJiri
Copy link
Contributor

@JanosJiri JanosJiri commented Oct 8, 2025

Renaming &nhcopt to &thermostat and inose to itherm. Backwards compatibility is ensured.

Closes #212

@JanosJiri JanosJiri added this to the Version 1.2 milestone Oct 8, 2025
@JanosJiri JanosJiri added the refactor No functional changes, just refactoring or cleaning up the code. label Oct 8, 2025
@JanosJiri JanosJiri self-assigned this Oct 8, 2025
@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.06%. Comparing base (85cf84f) to head (1742c98).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/init.F90 84.61% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #213      +/-   ##
==========================================
- Coverage   84.06%   84.06%   -0.01%     
==========================================
  Files          47       47              
  Lines        6602     6614      +12     
  Branches      764      766       +2     
==========================================
+ Hits         5550     5560      +10     
- Misses        853      855       +2     
  Partials      199      199              
Flag Coverage Δ
unittests 18.36% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/init.F90 82.62% <84.61%> (+0.01%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JanosJiri
Copy link
Contributor Author

@danielhollas @suchanj I've uploaded my modification to the v1.2-prep a few minutes after Dan merged it in #211, so it actually uploaded a new branch with the same name as the previous one. I added the &thermostat section and itherm keyword instead of inose. I've modified the keywords in a few instances so that they are checked in the tests. Have a look, please.

@JanosJiri JanosJiri requested a review from danielhollas October 8, 2025 14:14
@JanosJiri
Copy link
Contributor Author

Btw, default for inose is -1 (as set in the nosehoover.F90), yet the manual said 0. Should we change it to 0?

Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Perfect, this is exactly what I had it mind, thank you!

Can you also please modify all the input files in sample_inputs/? 🙏

@danielhollas
Copy link
Contributor

I've uploaded my modification to the v1.2-prep a few minutes after Dan merged it in #211, so it actually uploaded a new branch with the same name as the previous one.

No worries, and sorry about that. If you wanted to fix it, you can do an interactive rebase and discard the commits that have already been merged, e.g.

git switch master 
git pull origin master
git switch v1.2-prep
git rebase -i master

and in vim delete the commit that you don't want.

@JanosJiri JanosJiri requested a review from danielhollas October 9, 2025 07:39
Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Perfect, thank you! One more down. 💪

@JanosJiri JanosJiri merged commit 5af1168 into master Oct 10, 2025
17 checks passed
@JanosJiri JanosJiri deleted the v1.2-prep branch October 10, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor No functional changes, just refactoring or cleaning up the code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename namelist nhcopt to thermostat

3 participants