-
Notifications
You must be signed in to change notification settings - Fork 134
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
LR-TDDFT Implementation #2460
Comments
The idea I want to try: to implement a move constructor:
Now I think this way is feasible. It has been succeeded for Polymorphism is not a promlem, because |
ESolver_KS
for beyond DFT methods?
Problem 2: Parallel Distribution of X-vectors (nc * nv * nstates)
Maybe just like the
Problem 3: How to set the initial guess of X ?Solution: use unit vectors (set the pairs most close to homo-lumo to 1). Problem 4: Should we move the interfaces
|
5: Parallel of transition density matrix before grid intergralThere's nothing special in the grid integral calculation: just to call However, calculation of the transition density matrix $ \tilde{\rho}{\mu\nu} = \sum{jb} c_{j,\mu} X_{jb} c^*_{b,\nu} $ I may need to refer to the function (If parallel distribution of X is considered, things will be more difficult...) |
|
@maki49 It might help to manage related PR and issues using a project : LR-TDDFT Implementation |
This has been done. Great job! |
What's this issue for?
Problem 1: How can we get ground state infomation from
ESolver_KS
for beyond DFT methods?The ground state information means wavefunction
psi::Psi
and band energypelec->ekb
.Of course, we can write a file that will be read in the excited-state solver. But I think there should be a more elegant way like this:
However, this is not supported in the current program framework using polymorphism, because
Psi
is in the derived class and a pointer to the base class cannot get it.Also, I don't think it's a reasonable way to let
ESolver_LRTDDFT
be a child class ofESolver_KS
(from both code structure and physics points of view).Are there any better solutions other than write-and-read or putting
Psi
into the base classESolver
?The text was updated successfully, but these errors were encountered: