Skip to content

Conversation

@AsTonyshment
Copy link
Collaborator

Linked Issue

Fix #6151

What's changed?

We now enforce search_pbc=true by:

  1. Moving the parameter from input_parameter.h to system_parameter.h
  2. Updating all references from PARAM.inp.search_pbc to PARAM.globalv.search_pbc
  3. Removing related documentation in input-main.md
  4. Adjusting unit tests accordingly

These changes prevent users from modifying this parameter while ensuring physically correct behavior.

@AsTonyshment AsTonyshment requested a review from mohanchen April 23, 2025 10:29
@mohanchen mohanchen added Input&Output Suitable for coders without knowing too many DFT details The Absolute Zero Reduce the "entropy" of the code to 0 labels Apr 23, 2025
@mohanchen mohanchen merged commit 5f97360 into deepmodeling:develop Apr 23, 2025
14 checks passed
@AsTonyshment AsTonyshment deleted the remove_search_pbc branch April 23, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Input&Output Suitable for coders without knowing too many DFT details The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting search_pbc=false yields completely incorrect results despite sufficient vacuum layer

2 participants