Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Exit with failure if density off by more than 2%#251

Merged
jeanlucf22 merged 2 commits into
releasefrom
fail_rescale
Jun 6, 2024
Merged

Exit with failure if density off by more than 2%#251
jeanlucf22 merged 2 commits into
releasefrom
fail_rescale

Conversation

@jeanlucf22

Copy link
Copy Markdown
Collaborator
  • adatpt SiH4 test to catch that
  • fix bug in DFTsolver that was leading to wrong density

* adatpt SiH4 test to catch that
* fix bug in DFTsolver that was leading to wrong density
@jeanlucf22 jeanlucf22 requested a review from oseikuffuor1 June 5, 2024 01:12
Comment thread src/Rho.cc

@oseikuffuor1 oseikuffuor1 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I left a minor comment for your consideration. Thanks.

@jeanlucf22 jeanlucf22 merged commit bffc514 into release Jun 6, 2024
@jeanlucf22 jeanlucf22 deleted the fail_rescale branch June 6, 2024 14:34
jeanlucf22 added a commit that referenced this pull request Jun 14, 2024
* Reenable testShortSighted test (#248)

* Make new driver to check input (#247)

* clean up/reorganize main.cc
* use shared_ptr in class MGmol

* Add possible periodic dimensions to xyz2in.py (#249)

* Add possible periodic dimensions to xyz2in.py

* Remove unused/untested option extrapolateH (#250)

* Exit with failure if density off by more than 2% (#251)

* Exit with failure if density off by more than 2%
* adapt SiH4 test to catch that
* fix bug in DFTsolver that was leading to wrong density

* Example driver (#252)

* add example driver, showing use of MGmol as a force/energy computational engine

* clean up related functions in class Ions

* loadOrbitalsFromRestartFile -> loadRestartFile

* update the rom main driver.

* update rom main driver again

* temporary fix before the next PR

---------

Co-authored-by: Jean-Luc Fattebert <[email protected]>
jeanlucf22 added a commit that referenced this pull request Aug 14, 2024
* Reenable testShortSighted test (#248)

* Make new driver to check input (#247)

* clean up/reorganize main.cc
* use shared_ptr in class MGmol

* Add possible periodic dimensions to xyz2in.py (#249)

* Add possible periodic dimensions to xyz2in.py

* Remove unused/untested option extrapolateH (#250)

* Exit with failure if density off by more than 2% (#251)

* Exit with failure if density off by more than 2%
* adapt SiH4 test to catch that
* fix bug in DFTsolver that was leading to wrong density

* Example driver (#252)

* add example driver, showing use of MGmol as a force/energy computational engine

* clean up related functions in class Ions

* loadOrbitalsFromRestartFile -> loadRestartFile (#253)

* Add SG15 PBE potential for N (#258)

* Update 2-pyridone example (#259)

* Adjust verbosity in some functions (#260)

* Add new example: pinned H2O (#261)

* Print out eigenvalues out of MVP solver (#262)

Previously, the wrong eigenvalues (0) were printed out because eigenvalues outside solver were not up-to-date.

* Add Li2 example with local GTH potential (#263)

* Fix LBFGS termination when converged (#264)

* Remove unused code to extrapolate rho (#265)

* Fix and test EnergyAndForces interface (#266)

* Atomic potentials were not updated when atomic positions were changed
* Added test to make sure energies and forces are the same after positions
  move by one mesh spacing

* Add new functionality to compute energy and forces (#267)

* use specified initial conditions for wavefunctions

---------

Co-authored-by: Jean-Luc Fattebert <[email protected]>
Co-authored-by: Kevin" Seung Whan Chung <[email protected]>
jeanlucf22 added a commit that referenced this pull request Oct 15, 2024
* Reenable testShortSighted test (#248)

* Make new driver to check input (#247)

* clean up/reorganize main.cc
* use shared_ptr in class MGmol

* Add possible periodic dimensions to xyz2in.py (#249)

* Add possible periodic dimensions to xyz2in.py

* Remove unused/untested option extrapolateH (#250)

* Exit with failure if density off by more than 2% (#251)

* Exit with failure if density off by more than 2%
* adapt SiH4 test to catch that
* fix bug in DFTsolver that was leading to wrong density

* Example driver (#252)

* add example driver, showing use of MGmol as a force/energy computational engine

* clean up related functions in class Ions

* loadOrbitalsFromRestartFile -> loadRestartFile (#253)

* Add SG15 PBE potential for N (#258)

* Update 2-pyridone example (#259)

* Adjust verbosity in some functions (#260)

* Add new example: pinned H2O (#261)

* Print out eigenvalues out of MVP solver (#262)

Previously, the wrong eigenvalues (0) were printed out because eigenvalues outside solver were not up-to-date.

* Add Li2 example with local GTH potential (#263)

* Fix LBFGS termination when converged (#264)

* Remove unused code to extrapolate rho (#265)

* Fix and test EnergyAndForces interface (#266)

* Atomic potentials were not updated when atomic positions were changed
* Added test to make sure energies and forces are the same after positions
  move by one mesh spacing

* Add new functionality to compute energy and forces (#267)

* use specified initial conditions for wavefunctions

* Add functionality to compute energy and forces (#270)

* use specified wavefunctions as solution, with unknown DM

* Add ONCV for Sulfur + example (#275)

* Fix CMakeList

* Fix test

* Bypass build error

* Fix merge mistake

---------

Co-authored-by: Jean-Luc Fattebert <[email protected]>
Co-authored-by: Kevin" Seung Whan Chung <[email protected]>
jeanlucf22 added a commit that referenced this pull request Oct 15, 2024
* Reenable testShortSighted test (#248)

* Make new driver to check input (#247)

* clean up/reorganize main.cc
* use shared_ptr in class MGmol

* Add possible periodic dimensions to xyz2in.py (#249)

* Add possible periodic dimensions to xyz2in.py

* Remove unused/untested option extrapolateH (#250)

* Exit with failure if density off by more than 2% (#251)

* Exit with failure if density off by more than 2%
* adapt SiH4 test to catch that
* fix bug in DFTsolver that was leading to wrong density

* Example driver (#252)

* add example driver, showing use of MGmol as a force/energy computational engine

* clean up related functions in class Ions

* loadOrbitalsFromRestartFile -> loadRestartFile (#253)

* Add SG15 PBE potential for N (#258)

* Update 2-pyridone example (#259)

* Adjust verbosity in some functions (#260)

* Add new example: pinned H2O (#261)

* Print out eigenvalues out of MVP solver (#262)

Previously, the wrong eigenvalues (0) were printed out because eigenvalues outside solver were not up-to-date.

* Add Li2 example with local GTH potential (#263)

* Fix LBFGS termination when converged (#264)

* Remove unused code to extrapolate rho (#265)

* Fix and test EnergyAndForces interface (#266)

* Atomic potentials were not updated when atomic positions were changed
* Added test to make sure energies and forces are the same after positions
  move by one mesh spacing

* Add new functionality to compute energy and forces (#267)

* use specified initial conditions for wavefunctions

* Add functionality to compute energy and forces (#270)

* use specified wavefunctions as solution, with unknown DM

* Add ONCV for Sulfur + example (#275)

* Fix EnergyAndForces tests (#277)

* have them work in debug mode too

* Move factor 4pi out og linear solvers (#278)

* Move some code into PoissonSolverFactory (#279)

* Clean up class Potentials (#280)

* Clean up class Ions, add test for it (#281)

---------

Co-authored-by: Jean-Luc Fattebert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants