Skip to content

Commit

Permalink
Refactor: redesign the constructor and member variables of davsubspac…
Browse files Browse the repository at this point in the history
…e class (#4330)

* refactor dav_subspace class

* update the usage of dav_subspace

* refactor dav-subspace

* fix cuda build bug

* add some comments

---------

Co-authored-by: Mohan Chen <[email protected]>
  • Loading branch information
haozhihan and mohanchen authored Jun 8, 2024
1 parent 9084ccc commit 824d71a
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 309 deletions.
2 changes: 1 addition & 1 deletion examples/scf/pw_Si2/INPUT
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ ecutwfc 60
scf_thr 1e-7
scf_nmax 100
device cpu
ks_solver cg
ks_solver dav_subspace
precision double
Loading

0 comments on commit 824d71a

Please sign in to comment.