55#include "./base/base_uses.f90"
60 CHARACTER(len=*),
PARAMETER,
PRIVATE :: moduleN =
'molden_utils'
61 LOGICAL,
PARAMETER :: debug_this_module = .false.
63 INTEGER,
PARAMETER :: molden_lmax = 4
64 INTEGER,
PARAMETER :: molden_ncomax = (molden_lmax + 1)*(molden_lmax + 2)/2
84 unoccupied_orbs, unoccupied_evals, qs_env, calc_energies)
89 TYPE(
cell_type),
OPTIONAL,
POINTER :: cell
91 OPTIONAL :: unoccupied_orbs
93 OPTIONAL :: unoccupied_evals
95 LOGICAL,
INTENT(IN),
OPTIONAL :: calc_energies
97 CHARACTER(LEN=*),
PARAMETER :: routinen =
'write_mos_molden'
98 CHARACTER(LEN=molden_lmax+1),
PARAMETER :: angmom =
"spdfg"
100 CHARACTER(LEN=15) :: fmtstr1, fmtstr2
101 CHARACTER(LEN=2) :: element_symbol
102 INTEGER :: gto_kind, handle, i, iatom, icgf, icol, ikind, ipgf, irow, irow_in, iset, isgf, &
103 ishell, ispin, iw, lshell, ncgf, ncol_global, ndigits, nrow_global, nset, nsgf, numos, &
105 INTEGER,
DIMENSION(:),
POINTER :: npgf, nshell
106 INTEGER,
DIMENSION(:, :),
POINTER :: l
107 INTEGER,
DIMENSION(molden_ncomax, 0:molden_lmax) :: orbmap
108 LOGICAL :: do_calc_energies, ghost_atom, &
109 mark_ghost, print_warn, write_cell, &
111 REAL(kind=
dp) :: expzet, prefac, scale_factor, zeff
112 REAL(kind=
dp),
ALLOCATABLE,
DIMENSION(:, :) :: cmatrix, smatrix
113 REAL(kind=
dp),
DIMENSION(:),
POINTER :: mo_eigenvalues
114 REAL(kind=
dp),
DIMENSION(:, :),
POINTER :: zet
115 REAL(kind=
dp),
DIMENSION(:, :, :),
POINTER :: gcc
120 TYPE(
dbcsr_type),
POINTER :: matrix_ks, mo_coeff_deriv
124 CALL timeset(routinen, handle)
130 extension=
".molden", file_status=
'REPLACE')
135 IF (unit_choice == 2)
THEN
138 scale_factor = 1.0_dp
142 ndigits = min(max(3, ndigits), 30)
143 WRITE (unit=fmtstr1, fmt=
'("(I6,1X,ES",I0,".",I0,")")') ndigits + 7, ndigits
144 WRITE (unit=fmtstr2, fmt=
'("((T51,2F",I0,".",I0,"))")') ndigits + 10, ndigits
151 IF (mos(1)%use_mo_coeff_b)
THEN
154 DO ispin = 1,
SIZE(mos)
155 IF (.NOT.
ASSOCIATED(mos(ispin)%mo_coeff_b))
THEN
164 WRITE (iw,
'(T2,A)')
"[Molden Format]"
166 IF (unit_choice == 2)
THEN
167 WRITE (iw,
'(T2,A)')
"[Cell] Angs"
169 WRITE (iw,
'(T2,A)')
"[Cell] AU"
171 WRITE (iw,
'(T2,3(F12.6,3X))') &
172 cell%hmat(1, 1)*scale_factor, cell%hmat(2, 1)*scale_factor, cell%hmat(3, 1)*scale_factor
173 WRITE (iw,
'(T2,3(F12.6,3X))') &
174 cell%hmat(1, 2)*scale_factor, cell%hmat(2, 2)*scale_factor, cell%hmat(3, 2)*scale_factor
175 WRITE (iw,
'(T2,3(F12.6,3X))') &
176 cell%hmat(1, 3)*scale_factor, cell%hmat(2, 3)*scale_factor, cell%hmat(3, 3)*scale_factor
178 IF (unit_choice == 2)
THEN
179 WRITE (iw,
'(T2,A)')
"[Atoms] Angs"
181 WRITE (iw,
'(T2,A)')
"[Atoms] AU"
183 DO i = 1,
SIZE(particle_set)
184 CALL get_atomic_kind(atomic_kind=particle_set(i)%atomic_kind, kind_number=ikind, &
185 element_symbol=element_symbol)
188 CALL get_qs_kind(qs_kind_set(ikind), ghost=ghost_atom)
189 IF (ghost_atom) z = 0
192 WRITE (iw,
'(T2,A2,I6,I6,3X,3(F12.6,3X))') &
193 element_symbol, i, z, particle_set(i)%r(:)*scale_factor
195 IF (write_pseudo)
THEN
196 WRITE (iw,
'(T2,A)')
"[Pseudo]"
197 DO i = 1,
SIZE(particle_set)
198 CALL get_atomic_kind(atomic_kind=particle_set(i)%atomic_kind, kind_number=ikind, &
199 element_symbol=element_symbol)
201 WRITE (iw,
'(T2,A2,I6,I6)') &
202 element_symbol, i, nint(zeff)
206 WRITE (iw,
'(T2,A)')
"[GTO]"
208 DO i = 1,
SIZE(particle_set)
209 CALL get_atomic_kind(atomic_kind=particle_set(i)%atomic_kind, kind_number=ikind, &
210 element_symbol=element_symbol)
211 CALL get_qs_kind(qs_kind_set(ikind), basis_set=orb_basis_set)
212 IF (
ASSOCIATED(orb_basis_set))
THEN
213 WRITE (iw,
'(T2,I8,I8)') i, 0
223 DO ishell = 1, nshell(iset)
224 lshell = l(ishell, iset)
225 IF (lshell <= molden_lmax)
THEN
226 WRITE (unit=iw, fmt=
'(T25,A2,4X,I4,4X,F4.2)') &
227 angmom(lshell + 1:lshell + 1), npgf(iset), 1.0_dp
231 prefac = 2_dp**lshell*(2/
pi)**0.75_dp
232 expzet = 0.25_dp*(2*lshell + 3.0_dp)
233 WRITE (unit=iw, fmt=fmtstr2) &
234 (zet(ipgf, iset), gcc(ipgf, ishell, iset)/(prefac*zet(ipgf, iset)**expzet), &
238 CALL cp_warn(__location__, &
239 "MOLDEN format does not support Gaussian orbitals with l > 4.")
246 WRITE (iw,
'(A4)')
" "
253 WRITE (iw,
'(T2,A)')
"[5D7F]"
254 WRITE (iw,
'(T2,A)')
"[9G]"
257 WRITE (iw,
'(T2,A)')
"[MO]"
286 orbmap = reshape([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
287 1, 2, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
288 1, 4, 6, 2, 3, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
289 1, 7, 10, 4, 2, 3, 6, 9, 8, 5, 0, 0, 0, 0, 0, &
290 1, 11, 15, 2, 3, 7, 12, 10, 14, 4, 6, 13, 5, 8, 9], &
291 [molden_ncomax, molden_lmax + 1])
296 orbmap = reshape([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
297 3, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
298 3, 4, 2, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, &
299 4, 5, 3, 6, 2, 7, 1, 0, 0, 0, 0, 0, 0, 0, 0, &
300 5, 6, 4, 7, 3, 8, 2, 9, 1, 0, 0, 0, 0, 0, 0], &
301 [molden_ncomax, molden_lmax + 1])
305 DO ispin = 1,
SIZE(mos)
306 do_calc_energies = .false.
307 IF (
PRESENT(calc_energies)) do_calc_energies = calc_energies
309 IF (
PRESENT(qs_env) .AND. do_calc_energies)
THEN
310 CALL get_qs_env(qs_env, matrix_ks=ks, dft_control=dft_control)
312 matrix_ks => ks(ispin)%matrix
315 IF (dft_control%do_admm)
THEN
320 CALL get_mo_set(mo_set=mos(ispin), mo_coeff=mo_coeff, eigenvalues=mo_eigenvalues)
322 IF (
ASSOCIATED(qs_env%mo_derivs))
THEN
323 mo_coeff_deriv => qs_env%mo_derivs(ispin)%matrix
325 mo_coeff_deriv => null()
330 ks_matrix=matrix_ks, &
331 evals_arg=mo_eigenvalues, &
332 co_rotate_dbcsr=mo_coeff_deriv)
335 IF (dft_control%do_admm)
THEN
341 nrow_global=nrow_global, &
342 ncol_global=ncol_global)
343 ALLOCATE (smatrix(nrow_global, ncol_global))
350 ALLOCATE (cmatrix(ncgf, ncgf))
358 DO iatom = 1,
SIZE(particle_set)
359 NULLIFY (orb_basis_set)
360 CALL get_atomic_kind(particle_set(iatom)%atomic_kind, kind_number=ikind)
362 basis_set=orb_basis_set)
363 IF (
ASSOCIATED(orb_basis_set))
THEN
369 DO ishell = 1, nshell(iset)
370 lshell = l(ishell, iset)
371 CALL dgemm(
"T",
"N",
nco(lshell), mos(ispin)%nmo,
nso(lshell), 1.0_dp, &
373 smatrix(isgf, 1), nsgf, 0.0_dp, &
374 cmatrix(icgf, 1), ncgf)
375 icgf = icgf +
nco(lshell)
376 isgf = isgf +
nso(lshell)
383 DO icol = 1, mos(ispin)%nmo
392 WRITE (iw,
'(A,ES20.10)')
'Ene=', mos(ispin)%eigenvalues(icol)
394 WRITE (iw,
'(A)')
'Spin= Alpha'
396 WRITE (iw,
'(A)')
'Spin= Beta'
398 WRITE (iw,
'(A,F12.7)')
'Occup=', mos(ispin)%occupation_numbers(icol)
400 DO iatom = 1,
SIZE(particle_set)
401 NULLIFY (orb_basis_set)
403 element_symbol=element_symbol, kind_number=ikind)
405 basis_set=orb_basis_set)
406 IF (
ASSOCIATED(orb_basis_set))
THEN
418 DO ishell = 1, nshell(iset)
419 lshell = l(ishell, iset)
421 IF (lshell <= molden_lmax)
THEN
422 CALL print_coeffs(iw, fmtstr1, ndigits, irow_in, orbmap(:, lshell), &
423 cmatrix(irow:irow +
nco(lshell) - 1, icol))
424 irow_in = irow_in +
nco(lshell)
427 irow = irow +
nco(lshell)
436 DO ishell = 1, nshell(iset)
437 lshell = l(ishell, iset)
439 IF (lshell <= molden_lmax)
THEN
440 CALL print_coeffs(iw, fmtstr1, ndigits, irow_in, orbmap(:, lshell), &
441 smatrix(irow:irow +
nso(lshell) - 1, icol))
442 irow_in = irow_in +
nso(lshell)
445 irow = irow +
nso(lshell)
455 IF (
ALLOCATED(cmatrix))
DEALLOCATE (cmatrix)
456 IF (
ALLOCATED(smatrix))
DEALLOCATE (smatrix)
460 IF (
PRESENT(unoccupied_orbs) .AND.
PRESENT(unoccupied_evals))
THEN
461 DO ispin = 1,
SIZE(unoccupied_orbs)
463 nrow_global=nrow_global, &
465 ALLOCATE (smatrix(nrow_global, numos))
471 ALLOCATE (cmatrix(ncgf, numos))
476 DO iatom = 1,
SIZE(particle_set)
477 NULLIFY (orb_basis_set)
478 CALL get_atomic_kind(particle_set(iatom)%atomic_kind, kind_number=ikind)
479 CALL get_qs_kind(qs_kind_set(ikind), basis_set=orb_basis_set)
480 IF (
ASSOCIATED(orb_basis_set))
THEN
482 nset=nset, nshell=nshell, l=l)
484 DO ishell = 1, nshell(iset)
485 lshell = l(ishell, iset)
486 CALL dgemm(
"T",
"N",
nco(lshell), numos,
nso(lshell), 1.0_dp, &
488 smatrix(isgf, 1), nsgf, 0.0_dp, &
489 cmatrix(icgf, 1), ncgf)
490 icgf = icgf +
nco(lshell)
491 isgf = isgf +
nso(lshell)
502 WRITE (iw,
'(A,ES20.10)')
'Ene=', unoccupied_evals(ispin)%array(icol)
504 WRITE (iw,
'(A)')
'Spin= Alpha'
506 WRITE (iw,
'(A)')
'Spin= Beta'
508 WRITE (iw,
'(A,F12.7)')
'Occup=', 0.0_dp
510 DO iatom = 1,
SIZE(particle_set)
511 NULLIFY (orb_basis_set)
513 element_symbol=element_symbol, kind_number=ikind)
514 CALL get_qs_kind(qs_kind_set(ikind), basis_set=orb_basis_set)
515 IF (
ASSOCIATED(orb_basis_set))
THEN
517 nset=nset, nshell=nshell, l=l)
522 DO ishell = 1, nshell(iset)
523 lshell = l(ishell, iset)
524 IF (lshell <= molden_lmax)
THEN
525 CALL print_coeffs(iw, fmtstr1, ndigits, irow_in, orbmap(:, lshell), &
526 cmatrix(irow:irow +
nco(lshell) - 1, icol))
527 irow_in = irow_in +
nco(lshell)
529 irow = irow +
nco(lshell)
534 DO ishell = 1, nshell(iset)
535 lshell = l(ishell, iset)
536 IF (lshell <= molden_lmax)
THEN
537 CALL print_coeffs(iw, fmtstr1, ndigits, irow_in, orbmap(:, lshell), &
538 smatrix(irow:irow +
nso(lshell) - 1, icol))
539 irow_in = irow_in +
nso(lshell)
541 irow = irow +
nso(lshell)
551 IF (
ALLOCATED(cmatrix))
DEALLOCATE (cmatrix)
552 IF (
ALLOCATED(smatrix))
DEALLOCATE (smatrix)
560 CALL timestop(handle)
573 SUBROUTINE print_coeffs(iw, fmtstr1, ndigits, irow_in, orbmap, mo_coeff)
574 INTEGER,
INTENT(in) :: iw
575 CHARACTER(LEN=*),
INTENT(in) :: fmtstr1
576 INTEGER,
INTENT(in) :: ndigits, irow_in
577 INTEGER,
DIMENSION(molden_ncomax),
INTENT(in) :: orbmap
578 REAL(kind=
dp),
DIMENSION(:),
INTENT(in) :: mo_coeff
584 IF (abs(mo_coeff(orbmap(
orbital))) >= 10.0_dp**(-ndigits))
THEN
585 WRITE (iw, fmtstr1) irow_in +
orbital - 1, mo_coeff(orbmap(
orbital))
590 END SUBROUTINE print_coeffs
606 dump_only_positive, logger, list)
610 REAL(kind=
dp),
DIMENSION(:) :: freq
611 REAL(kind=
dp),
DIMENSION(:, :) :: eigen_vec
612 REAL(kind=
dp),
DIMENSION(:),
POINTER :: intensities
613 LOGICAL,
INTENT(in) :: calc_intens, dump_only_positive
615 INTEGER,
DIMENSION(:),
OPTIONAL,
POINTER ::
list
617 CHARACTER(len=*),
PARAMETER :: routinen =
'write_vibrations_molden'
619 CHARACTER(LEN=2) :: element_symbol
620 INTEGER :: handle, i, iw, j, k, l, z
621 INTEGER,
ALLOCATABLE,
DIMENSION(:) :: my_list
622 REAL(kind=
dp) :: fint
624 CALL timeset(routinen, handle)
627 extension=
".mol", file_status=
'REPLACE')
630 cpassert(mod(
SIZE(eigen_vec, 1), 3) == 0)
631 cpassert(
SIZE(freq, 1) ==
SIZE(eigen_vec, 2))
632 ALLOCATE (my_list(
SIZE(particles)))
635 IF (
PRESENT(
list))
THEN
641 cpassert(
SIZE(particles) ==
SIZE(eigen_vec, 1)/3)
642 DO i = 1,
SIZE(my_list)
646 WRITE (iw,
'(T2,A)')
"[Molden Format]"
647 WRITE (iw,
'(T2,A)')
"[Atoms] AU"
648 DO i = 1,
SIZE(particles)
650 element_symbol=element_symbol)
653 WRITE (iw,
'(T2,A2,I8,I8,3X,3(F12.6,3X))') &
654 element_symbol, i, z, particles(i)%r(:)
657 WRITE (iw,
'(T2,A)')
"[FREQ]"
658 DO i = 1,
SIZE(freq, 1)
659 IF ((.NOT. dump_only_positive) .OR. (freq(i) >= 0._dp))
WRITE (iw,
'(T5,F12.6)') freq(i)
661 WRITE (iw,
'(T2,A)')
"[FR-COORD]"
662 DO i = 1,
SIZE(particles)
664 element_symbol=element_symbol)
665 WRITE (iw,
'(T2,A2,3X,3(F12.6,3X))') &
666 element_symbol, particles(i)%r(:)
668 WRITE (iw,
'(T2,A)')
"[FR-NORM-COORD]"
670 DO i = 1,
SIZE(eigen_vec, 2)
671 IF ((.NOT. dump_only_positive) .OR. (freq(i) >= 0._dp))
THEN
673 WRITE (iw,
'(T2,A,1X,I6)')
"vibration", l
674 DO j = 1,
SIZE(particles)
675 IF (my_list(j) /= 0)
THEN
676 k = (my_list(j) - 1)*3
677 WRITE (iw,
'(T2,3(F12.6,3X))') eigen_vec(k + 1, i), eigen_vec(k + 2, i), eigen_vec(k + 3, i)
679 WRITE (iw,
'(T2,3(F12.6,3X))') 0.0_dp, 0.0_dp, 0.0_dp
684 IF (calc_intens)
THEN
687 WRITE (iw,
'(T2,A)')
"[INT]"
688 DO i = 1,
SIZE(intensities)
689 IF ((.NOT. dump_only_positive) .OR. (freq(i) >= 0._dp))
WRITE (iw,
'(3X,F18.6)') fint*intensities(i)**2
696 CALL timestop(handle)
static void dgemm(const char transa, const char transb, const int m, const int n, const int k, const double alpha, const double *a, const int lda, const double *b, const int ldb, const double beta, double *c, const int ldc)
Convenient wrapper to hide Fortran nature of dgemm_, swapping a and b.
Types and set/get functions for auxiliary density matrix methods.
Contains methods used in the context of density fitting.
subroutine, public admm_uncorrect_for_eigenvalues(ispin, admm_env, ks_matrix)
...
subroutine, public admm_correct_for_eigenvalues(ispin, admm_env, ks_matrix)
...
Define the atomic kind types and their sub types.
subroutine, public get_atomic_kind(atomic_kind, fist_potential, element_symbol, name, mass, kind_number, natom, atom_list, rcov, rvdw, z, qeff, apol, cpol, mm_radius, shell, shell_active, damping)
Get attributes of an atomic kind.
subroutine, public get_gto_basis_set(gto_basis_set, name, aliases, norm_type, kind_radius, ncgf, nset, nsgf, cgf_symbol, sgf_symbol, norm_cgf, set_radius, lmax, lmin, lx, ly, lz, m, ncgf_set, npgf, nsgf_set, nshell, cphi, pgf_radius, sphi, scon, zet, first_cgf, first_sgf, l, last_cgf, last_sgf, n, gcc, maxco, maxl, maxpgf, maxsgf_set, maxshell, maxso, nco_sum, npgf_sum, nshell_sum, maxder, short_kind_radius, npgf_seg_sum, ccon)
...
Handles all functions related to the CELL.
various utilities that regard array of different kinds: output, allocation,... maybe it is not a good...
Defines control structures, which contain the parameters and the settings for the DFT-based calculati...
DBCSR operations in CP2K.
subroutine, public copy_dbcsr_to_fm(matrix, fm)
Copy a DBCSR matrix to a BLACS matrix.
represent a full matrix distributed on many processors
subroutine, public cp_fm_get_info(matrix, name, nrow_global, ncol_global, nrow_block, ncol_block, nrow_local, ncol_local, row_indices, col_indices, local_data, context, nrow_locals, ncol_locals, matrix_struct, para_env)
returns all kind of information about the full matrix
subroutine, public cp_fm_get_submatrix(fm, target_m, start_row, start_col, n_rows, n_cols, transpose)
gets a submatrix of a full matrix op(target_m)(1:n_rows,1:n_cols) =fm(start_row:start_row+n_rows,...
various routines to log and control the output. The idea is that decisions about where to log should ...
type(cp_logger_type) function, pointer, public cp_get_default_logger()
returns the default logger
routines to handle the output, The idea is to remove the decision of wheter to output and what to out...
integer function, public cp_print_key_unit_nr(logger, basis_section, print_key_path, extension, middle_name, local, log_filename, ignore_should_output, file_form, file_position, file_action, file_status, do_backup, on_file, is_new_file, mpi_io, fout)
...
subroutine, public cp_print_key_finished_output(unit_nr, logger, basis_section, print_key_path, local, ignore_should_output, on_file, mpi_io)
should be called after you finish working with a unit obtained with cp_print_key_unit_nr,...
integer, parameter, public cp_p_file
integer function, public cp_print_key_should_output(iteration_info, basis_section, print_key_path, used_print_key, first_time)
returns what should be done with the given property if btest(res,cp_p_store) then the property should...
Defines the basic variable types.
integer, parameter, public dp
An array-based list which grows on demand. When the internal array is full, a new array of twice the ...
Definition of mathematical constants and functions.
real(kind=dp), parameter, public pi
Functions handling the MOLDEN format. Split from mode_selective.
subroutine, public write_mos_molden(mos, qs_kind_set, particle_set, print_section, cell, unoccupied_orbs, unoccupied_evals, qs_env, calc_energies)
Write out the MOs in molden format for visualisation.
subroutine, public write_vibrations_molden(input, particles, freq, eigen_vec, intensities, calc_intens, dump_only_positive, logger, list)
writes the output for vibrational analysis in MOLDEN format
Provides Cartesian and spherical orbital pointers and indices.
integer, dimension(:), allocatable, public nco
integer, dimension(:), allocatable, public nso
Define the data structure for the particle information.
Periodic Table related data definitions.
subroutine, public get_ptable_info(symbol, number, amass, ielement, covalent_radius, metallic_radius, vdw_radius, found)
Pass information about the kind given the element symbol.
Definition of physical constants:
real(kind=dp), parameter, public angstrom
real(kind=dp), parameter, public massunit
subroutine, public get_qs_env(qs_env, atomic_kind_set, qs_kind_set, cell, super_cell, cell_ref, use_ref_cell, kpoints, dft_control, mos, sab_orb, sab_all, qmmm, qmmm_periodic, mimic, sac_ae, sac_ppl, sac_lri, sap_ppnl, sab_vdw, sab_scp, sap_oce, sab_lrc, sab_se, sab_xtbe, sab_tbe, sab_core, sab_xb, sab_xtb_pp, sab_xtb_nonbond, sab_almo, sab_kp, sab_kp_nosym, sab_cneo, particle_set, energy, force, matrix_h, matrix_h_im, matrix_ks, matrix_ks_im, matrix_vxc, run_rtp, rtp, matrix_h_kp, matrix_h_im_kp, matrix_ks_kp, matrix_ks_im_kp, matrix_vxc_kp, kinetic_kp, matrix_s_kp, matrix_w_kp, matrix_s_ri_aux_kp, matrix_s, matrix_s_ri_aux, matrix_w, matrix_p_mp2, matrix_p_mp2_admm, rho, rho_xc, pw_env, ewald_env, ewald_pw, active_space, mpools, input, para_env, blacs_env, scf_control, rel_control, kinetic, qs_charges, vppl, xcint_weights, rho_core, rho_nlcc, rho_nlcc_g, ks_env, ks_qmmm_env, wf_history, scf_env, local_particles, local_molecules, distribution_2d, dbcsr_dist, molecule_kind_set, molecule_set, subsys, cp_subsys, oce, local_rho_set, rho_atom_set, task_list, task_list_soft, rho0_atom_set, rho0_mpole, rhoz_set, rhoz_cneo_set, ecoul_1c, rho0_s_rs, rho0_s_gs, rhoz_cneo_s_rs, rhoz_cneo_s_gs, do_kpoints, has_unit_metric, requires_mo_derivs, mo_derivs, mo_loc_history, nkind, natom, nelectron_total, nelectron_spin, efield, neighbor_list_id, linres_control, xas_env, virial, cp_ddapc_env, cp_ddapc_ewald, outer_scf_history, outer_scf_ihistory, x_data, et_coupling, dftb_potential, results, se_taper, se_store_int_env, se_nddo_mpole, se_nonbond_env, admm_env, lri_env, lri_density, exstate_env, ec_env, harris_env, dispersion_env, gcp_env, vee, rho_external, external_vxc, mask, mp2_env, bs_env, kg_env, wanniercentres, atprop, ls_scf_env, do_transport, transport_env, v_hartree_rspace, s_mstruct_changed, rho_changed, potential_changed, forces_up_to_date, mscfg_env, almo_scf_env, gradient_history, variable_history, embed_pot, spin_embed_pot, polar_env, mos_last_converged, eeq, rhs, do_rixs, tb_tblite)
Get the QUICKSTEP environment.
Define the quickstep kind type and their sub types.
subroutine, public get_qs_kind(qs_kind, basis_set, basis_type, ncgf, nsgf, all_potential, tnadd_potential, gth_potential, sgp_potential, upf_potential, cneo_potential, se_parameter, dftb_parameter, xtb_parameter, dftb3_param, zatom, zeff, elec_conf, mao, lmax_dftb, alpha_core_charge, ccore_charge, core_charge, core_charge_radius, paw_proj_set, paw_atom, hard_radius, hard0_radius, max_rad_local, covalent_radius, vdw_radius, gpw_type_forced, harmonics, max_iso_not0, max_s_harm, grid_atom, ngrid_ang, ngrid_rad, lmax_rho0, dft_plus_u_atom, l_of_dft_plus_u, n_of_dft_plus_u, u_minus_j, u_of_dft_plus_u, j_of_dft_plus_u, alpha_of_dft_plus_u, beta_of_dft_plus_u, j0_of_dft_plus_u, occupation_of_dft_plus_u, dispersion, bs_occupation, magnetization, no_optimize, addel, laddel, naddel, orbitals, max_scf, eps_scf, smear, u_ramping, u_minus_j_target, eps_u_ramping, init_u_ramping_each_scf, reltmat, ghost, monovalent, floating, name, element_symbol, pao_basis_size, pao_model_file, pao_potentials, pao_descriptors, nelec)
Get attributes of an atomic kind.
subroutine, public get_qs_kind_set(qs_kind_set, all_potential_present, tnadd_potential_present, gth_potential_present, sgp_potential_present, paw_atom_present, dft_plus_u_atom_present, maxcgf, maxsgf, maxco, maxco_proj, maxgtops, maxlgto, maxlprj, maxnset, maxsgf_set, ncgf, npgf, nset, nsgf, nshell, maxpol, maxlppl, maxlppnl, maxppnl, nelectron, maxder, max_ngrid_rad, max_sph_harm, maxg_iso_not0, lmax_rho0, basis_rcut, basis_type, total_zeff_corr, npgf_seg, cneo_potential_present, nkind_q, natom_q)
Get attributes of an atomic kind set.
collects routines that perform operations directly related to MOs
Definition and initialisation of the mo data type.
subroutine, public get_mo_set(mo_set, maxocc, homo, lfomo, nao, nelectron, n_el_f, nmo, eigenvalues, occupation_numbers, mo_coeff, mo_coeff_b, uniform_occupation, kts, mu, flexible_electron_count)
Get the components of a MO set data structure.
stores some data used in wavefunction fitting
Type defining parameters related to the simulation cell.
represent a pointer to a 1d array
type of a logger, at the moment it contains just a print level starting at which level it should be l...
Orbital angular momentum.
Provides all information about a quickstep kind.