Extract dipole moment from RT-TDDFT restart file?


Click here for full thread
Forum Regular
Only the complex density matrix is written to the RT-TDDFT restart file. The dipole moment could be calculated for every time step in which the density matrix was written to the restart file, but you would need to write your own code for this because there is no routine in the RT-TDDFT code to calculate properties based on the density matrices stored in the restart file (short of running a whole series of very short runs where you restart the propagation from every step you have saved in the restart file and only run for a step in order to calculate the properties as is normally done during propagation, obviously if you have a large number of steps saved, this isn't really practical)