Skip to content

Fix stress unit and make optimization parameters more consistent - #878

Open
puzhichen wants to merge 2 commits into
pyscf:masterfrom
bytedance:fix/pbc-optimize
Open

Fix stress unit and make optimization parameters more consistent#878
puzhichen wants to merge 2 commits into
pyscf:masterfrom
bytedance:fix/pbc-optimize

Conversation

@puzhichen

Copy link
Copy Markdown
Collaborator

Changes:

  • ase_interface.PySCF: accept method_factory; rebuild method per step with dm0 warm-start; use non-inplace set_geom_ when factory is set. This is aimed at making calculation parameters being smoothly changed, i.e., each new step a new mean filed object will be created.
  • Fix stress unit conversion: HARTREE2EV / BOHR -> HARTREE2EV / BOHR**3 (stress is energy per volume).

@puzhichen
puzhichen marked this pull request as ready for review August 28, 2026 08:52
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.

1 participant