(git:27c966b)
Loading...
Searching...
No Matches
qs_ot.F File Reference

Go to the source code of this file.

Modules

module  qs_ot
 orbital transformations

Functions/Subroutines

subroutine, public qs_ot::qs_ot_new_preconditioner (qs_ot_env, preconditioner)
 gets ready to use the preconditioner/ or renew the preconditioner only keeps a pointer to the preconditioner. If you change the preconditioner, you have to call this routine you remain responsible of proper deallocate of your preconditioner (or you can reuse it on the next step of the computation)
subroutine, public qs_ot::qs_ot_complex_multiply (op_a, op_b, a_re, a_im, b_re, b_im, c_re, c_im, tmp)
 multiply paired real/imaginary DBCSR matrices, with optional conjugate transposes
logical function, public qs_ot::qs_ot_ref_update (qs_ot_env1)
 ...
subroutine, public qs_ot::qs_ot_get_orbitals_ref (matrix_c, matrix_s, matrix_x, matrix_sx, matrix_gx_old, matrix_dx, qs_ot_env, qs_ot_env1)
 ...
subroutine, public qs_ot::qs_ot_get_derivative_ref (matrix_hc, matrix_x, matrix_sx, matrix_gx, qs_ot_env)
 ...
subroutine, public qs_ot::qs_ot_square_transpose (matrix, transposed, identity_template)
 Transpose a square DBCSR matrix while retaining its target distribution.
subroutine, public qs_ot::qs_ot_get_p (matrix_x, matrix_sx, qs_ot_env)
 computes p=x*S*x and the matrix functionals related matrices
subroutine, public qs_ot::qs_ot_generate_rotation (qs_ot_env)
 computes the rotation matrix rot_mat_u that is associated to a given rot_mat_x using rot_mat_u=exp(rot_mat_x)
subroutine, public qs_ot::qs_ot_rot_mat_derivative (qs_ot_env)
 computes the derivative fields with respect to rot_mat_x
subroutine, public qs_ot::qs_ot_get_orbitals (matrix_c, matrix_x, qs_ot_env)
 c=(c0*cos(p^0.5)+x*sin(p^0.5)*p^(-0.5)) x rot_mat_u this assumes that x is already ortho to S*C0, and that p is x*S*x rot_mat_u is an optional rotation matrix
subroutine, public qs_ot::qs_ot_get_derivative (matrix_hc, matrix_x, matrix_sx, matrix_gx, qs_ot_env)
 this routines computes dE/dx=dx, with dx ortho to sc0 needs dE/dC=hc,C0,X,SX,p if preconditioned it will not be the derivative, but the lagrangian multiplier is changed so that P*dE/dx is the right derivative (i.e. in the allowed subspace)
subroutine, public qs_ot::qs_ot_project_gradient (qs_ot_env, matrix_gx, use_preconditioner)
 Project a real STRICT gradient, or an identity-metric fallback direction.
subroutine, public qs_ot::qs_ot_p2m_diag (qs_ot_env)
 given p, computes - eigenstuff (matrix_r,evals)
subroutine, public qs_ot::qs_ot_spectral_values (evals, values, cosine)
 Evaluate cos(sqrt(P)) or sinc(sqrt(P)) on the nonnegative eigenvalues of P.
subroutine, public qs_ot::qs_ot_spectral_kernel (roots_i, roots_j, block, cosine)
 Build a block of the real STRICT Frechet kernel, including coincident eigenvalues.