(git:e7e05ae)
rpa_im_time_force_methods.F File Reference

Go to the source code of this file.

Modules

module  rpa_im_time_force_methods
 Routines needed for cubic-scaling RPA and SOS-Laplace-MP2 forces.
 

Functions/Subroutines

subroutine, public rpa_im_time_force_methods::init_im_time_forces (force_data, fm_matrix_PQ, t_3c_M, unit_nr, mp2_env, qs_env)
 Initializes and pre-calculates all needed tensors for the forces. More...
 
subroutine, public rpa_im_time_force_methods::calc_laplace_loop_forces (force_data, mat_P_omega, t_3c_M, t_3c_O, t_3c_O_compressed, t_3c_O_ind, fm_scaled_dm_occ_tau, fm_scaled_dm_virt_tau, fm_mo_coeff_occ, fm_mo_coeff_virt, fm_mo_coeff_occ_scaled, fm_mo_coeff_virt_scaled, starts_array_mc, ends_array_mc, starts_array_mc_block, ends_array_mc_block, num_integ_points, nmo, Eigenval, tau_tj, tau_wj, cut_memory, Pspin, Qspin, open_shell, unit_nr, dbcsr_time, dbcsr_nflop, mp2_env, qs_env)
 Updates the cubic-scaling SOS-Laplace-MP2 contribution to the forces at each quadrature point. More...
 
subroutine, public rpa_im_time_force_methods::calc_rpa_loop_forces (force_data, mat_P_omega, t_3c_M, t_3c_O, t_3c_O_compressed, t_3c_O_ind, fm_scaled_dm_occ_tau, fm_scaled_dm_virt_tau, fm_mo_coeff_occ, fm_mo_coeff_virt, fm_mo_coeff_occ_scaled, fm_mo_coeff_virt_scaled, starts_array_mc, ends_array_mc, starts_array_mc_block, ends_array_mc_block, num_integ_points, nmo, Eigenval, e_fermi, weights_cos_tf_t_to_w, weights_cos_tf_w_to_t, tj, wj, tau_tj, cut_memory, ispin, open_shell, unit_nr, dbcsr_time, dbcsr_nflop, mp2_env, qs_env)
 Updates the cubic-scaling RPA contribution to the forces at each quadrature point. This routine is adapted from the corresponding Laplace SOS-MP2 loop force one. More...
 
subroutine, public rpa_im_time_force_methods::calc_post_loop_forces (force_data, unit_nr, qs_env)
 All the forces that can be calculated after the loop on the Laplace quaradture, using terms collected during the said loop. This inludes the z-vector equation and its reponse forces, as well as the force coming from the trace with the derivative of the KS matrix. More...
 
subroutine, public rpa_im_time_force_methods::keep_initial_quad (tj, wj, tau_tj, tau_wj, weights_cos_tf_t_to_w, weights_cos_tf_w_to_t, do_laplace, do_im_time, num_integ_points, unit_nr, qs_env)
 Overwrites the "optimal" Laplace quadrature with that of the first step. More...