2019-01-25 11:39:31 +01:00
|
|
|
.. _save_one_e_dm:
|
|
|
|
|
|
|
|
.. program:: save_one_e_dm
|
|
|
|
|
|
|
|
=============
|
|
|
|
save_one_e_dm
|
|
|
|
=============
|
|
|
|
|
|
|
|
|
2019-01-25 14:54:22 +01:00
|
|
|
|
|
|
|
|
2019-01-29 23:10:00 +01:00
|
|
|
Program that computes the one body density on the |MO| basis
|
|
|
|
for $\alpha$ and $\beta$ electrons from the wave function
|
|
|
|
stored in the |EZFIO| directory, and then saves it into the
|
|
|
|
:ref:`module_aux_quantities`.
|
2019-01-25 14:54:22 +01:00
|
|
|
|
2019-01-29 23:10:00 +01:00
|
|
|
Then, the global variable :option:`aux_quantities data_one_e_dm_alpha_mo`
|
|
|
|
and :option:`aux_quantities data_one_e_dm_beta_mo` will automatically
|
|
|
|
read this density in the next calculation. This can be used to perform
|
|
|
|
damping on the density in |RSDFT| calculations (see
|
|
|
|
:ref:`module_density_for_dft`).
|
2019-01-25 11:39:31 +01:00
|
|
|
|
|
|
|
Needs:
|
|
|
|
|
|
|
|
.. hlist::
|
|
|
|
:columns: 3
|
|
|
|
|
|
|
|
* :c:data:`read_wf`
|
|
|
|
|
|
|
|
Calls:
|
|
|
|
|
|
|
|
.. hlist::
|
|
|
|
:columns: 3
|
|
|
|
|
|
|
|
* :c:func:`routine_save_one_e_dm`
|
|
|
|
|
|
|
|
Touches:
|
|
|
|
|
|
|
|
.. hlist::
|
|
|
|
:columns: 3
|
|
|
|
|
|
|
|
* :c:data:`read_wf`
|