-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LASSI-LPDFT Framework #109
Conversation
…d_calling Lassipdft mem management and calling
This doesn't work when LASSI includes the local excitations. Have to change the L-PDFT diagonalization step. |
my_pyscf/mcpdft/_lpdft.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of the functions in this file seem to be identical to existing functions in pyscf_forge, which the user would need anyway to do this, so just refer to those functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, I have imported these functions from pyscf-forge directly.
examples/laspdft/lassi_lpdft.py
Outdated
lsi = lassi.LASSI(las) | ||
lsi.kernel() | ||
|
||
mc = mcpdft.LASSI(lsi,'tPBE', (2,2),((1, 0),(1, 0)),spin_sub=(2,2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to repeat the ncas_sub, nelecas_sub, etc?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it.
Merging the memory management for lassi rdm done by mrh.
Can you have a look? and if something is missing, I will add or correct that then I will add the test case.
Thanks