Skip to content

dblinger/RT-TDA_TDDFT

Repository files navigation

RT-TDA_TDDFT

RT-TDA_TDDFT

Place int_1e_ga.F in nwchem/src/ddscf, int_1estv.F in nwchem/src/NWints/api, and tddft_analysis.F in nwchem/src/nwdft/lr_tddft and compile NWchem.

To get matrix elements (evaluated on a predifined grid) for RT-TDA propagation, run modified NWchem with coords.inp file setup with the structure:

(int) number of points

(floats) x y z of point 1

(floats) x y z of point 2

...

(print_coords.py is a helper script to prepare these points on a grid in the same order as expected for a cube file.)

Then, run pickled_mask.py. This will chug on the Xmat.dat to generate lists of all significant Xmat elements. We then iterate only over elements of that list instead of all nocc*nvirt many X elements when calculating excited-excited couplings.

Then, run run_formham.sh, which will run formham_with_pickled_mask.py using the pickled mask to generate full hamiltonians for each coord from coords.inp. Just be sure to change the loop to be consistent with numenr of points in coords.inp.

Now that you have loads of number.dat files, run RTTD.py. It will pick these hamiltonians up as it need and do the propagation of a point charge with positive velocity along z, starting from 0,0,-100.

Also, some scripts that parse the ground to excited state couplings written directly to log files. grab_couplings.sh processes those files, and form_cube puts them into cube format (needs the appropriate header information to be cat'ed as well)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published