55#include "../base/base_uses.f90"
61 CHARACTER(len=*),
PARAMETER,
PRIVATE :: moduleN =
'mimic_communicator'
71 TYPE(mp_para_env_type),
POINTER :: para_env => null()
72 LOGICAL :: is_ionode = .false.
73 INTEGER :: mcl_server = 0, &
83 INTEGER :: n_atoms = -1, &
86 INTEGER,
DIMENSION(:, :),
ALLOCATABLE :: npts_pproc
88 INTEGER,
DIMENSION(:),
ALLOCATABLE :: lb_pproc
94 PROCEDURE :: receive_request
95 PROCEDURE :: send_value
96 PROCEDURE :: send_client_info
97 PROCEDURE :: send_atom_info
98 PROCEDURE :: send_kind_info
99 PROCEDURE :: send_box_info
100 PROCEDURE :: send_result
101 PROCEDURE :: send_grid_coordinates
102 PROCEDURE :: send_density
103 PROCEDURE :: send_forces
104 PROCEDURE :: send_positions
105 PROCEDURE :: receive_positions
106 PROCEDURE :: receive_potential
123 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':initialize'
131 LOGICAL :: mcl_initialized
133 CALL timeset(routinen, handle)
136 IF (.NOT. mcl_initialized)
THEN
137 CALL cp_abort(__location__,
"MiMiC run requested, but MCL is not initialized. "// &
138 "Launch CP2K as a client in an MPMD run or set MCL_COMM_MODE.")
143 NULLIFY (subsys, qs_env, ks_env, pw_env)
144 this%force_env => force_env
145 CALL force_env_get(this%force_env, subsys=subsys, para_env=this%para_env, qs_env=qs_env)
146 CALL cp_subsys_get(subsys, natom=this%n_atoms, particles=this%atoms, &
147 nkind=this%n_kinds, atomic_kinds=this%kinds)
148 CALL get_qs_env(qs_env, energy=this%energy, vee=this%potential, rho=this%density, &
149 dft_control=dft_control, ks_env=ks_env, pw_env=pw_env)
150 CALL pw_env_get(pw_env, auxbas_pw_pool=this%pw_info)
152 this%is_ionode = this%para_env%is_source()
154 ALLOCATE (this%npts_pproc(3, 0:this%para_env%num_pe - 1), source=0)
155 this%npts_pproc(:, this%para_env%mepos) = this%pw_info%pw_grid%npts_local
156 CALL this%para_env%sum(this%npts_pproc)
158 ALLOCATE (this%lb_pproc(0:this%para_env%num_pe - 1), source=0)
159 this%lb_pproc(this%para_env%mepos) = this%pw_info%pw_grid%bounds_local(1, 1) &
160 - this%pw_info%pw_grid%bounds(1, 1)
161 CALL this%para_env%sum(this%lb_pproc)
163 this%n_spins = dft_control%nspins
166 dft_control%apply_external_potential = .true.
167 dft_control%eval_external_potential = .false.
170 IF (
ASSOCIATED(this%potential))
THEN
171 CALL this%potential%release()
172 DEALLOCATE (this%potential)
174 ALLOCATE (this%potential)
175 CALL this%pw_info%create_pw(this%potential)
178 CALL timestop(handle)
186 SUBROUTINE finalize(this)
189 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':finalize'
193 CALL timeset(routinen, handle)
195 CALL this%para_env%sync()
199 CALL timestop(handle)
201 END SUBROUTINE finalize
208 FUNCTION receive_request(this)
RESULT(request)
212 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':receive_request'
216 CALL timeset(routinen, handle)
220 CALL this%para_env%bcast(request)
222 CALL timestop(handle)
224 END FUNCTION receive_request
232 SUBROUTINE send_value(this, option)
234 CHARACTER(LEN=*) :: option
236 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_value'
241 CALL timeset(routinen, handle)
244 CASE (
"num_atoms",
"num_atoms_in_fragments")
248 CASE (
"num_fragments")
255 energy = this%energy%total - this%energy%ee
258 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
261 CALL timestop(handle)
263 END SUBROUTINE send_value
270 SUBROUTINE send_client_info(this, option)
272 CHARACTER(LEN=*) :: option
274 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_client_info'
276 CHARACTER(LEN=*),
PARAMETER :: client_name =
"CP2K"
277 INTEGER,
DIMENSION(3) :: api_version
278 INTEGER :: handle, length
280 CALL timeset(routinen, handle)
286 length = len(client_name)
295 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
298 CALL timestop(handle)
300 END SUBROUTINE send_client_info
307 SUBROUTINE send_atom_info(this, option)
309 CHARACTER(LEN=*) :: option
311 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_atom_info'
313 INTEGER,
DIMENSION(:),
ALLOCATABLE :: buffer
316 CALL timeset(routinen, handle)
318 ALLOCATE (buffer(this%n_atoms))
321 DO i = 1, this%n_atoms
322 buffer(i) = this%atoms%els(i)%atomic_kind%kind_number
325 DO i = 1, this%n_atoms
326 buffer(i) = this%atoms%els(i)%atom_index
329 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
333 CALL timestop(handle)
335 END SUBROUTINE send_atom_info
342 SUBROUTINE send_kind_info(this, option)
344 CHARACTER(LEN=*) :: option
346 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_kind_info'
350 REAL(dp),
DIMENSION(:),
ALLOCATABLE :: buffer_dp
351 INTEGER,
DIMENSION(:),
ALLOCATABLE :: buffer_i
352 CHARACTER(LEN=:),
ALLOCATABLE :: labels
353 CHARACTER(LEN=default_string_length) :: label
354 INTEGER :: handle, length, i
356 CALL timeset(routinen, handle)
360 ALLOCATE (
CHARACTER(30*this%n_kinds) :: labels)
362 DO i = 1, this%n_kinds
364 labels = trim(labels)//trim(label)//
","
366 length = len(trim(labels)) - 1
370 ALLOCATE (buffer_i(this%n_kinds))
371 DO i = 1, this%n_kinds
376 ALLOCATE (buffer_dp(this%n_kinds))
377 DO i = 1, this%n_kinds
381 CASE (
"nuclear_charges")
382 NULLIFY (qs_env, qs_kinds)
385 ALLOCATE (buffer_dp(this%n_kinds))
386 DO i = 1, this%n_kinds
391 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
394 CALL timestop(handle)
396 END SUBROUTINE send_kind_info
403 SUBROUTINE send_box_info(this, option)
405 CHARACTER(LEN=*) :: option
407 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_box_info'
409 INTEGER,
DIMENSION(3) :: npts_glob
410 REAL(dp),
DIMENSION(3) :: origin
411 REAL(dp),
DIMENSION(9) :: box_vectors
414 CALL timeset(routinen, handle)
416 npts_glob = this%pw_info%pw_grid%npts
419 CASE (
"num_gridpoints")
425 box_vectors = [(this%pw_info%pw_grid%dh(:, i)*real(npts_glob(i), dp), i=1, 3)]
428 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
431 CALL timestop(handle)
433 END SUBROUTINE send_box_info
440 SUBROUTINE send_result(this, option)
442 CHARACTER(LEN=*) :: option
444 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_result'
448 CHARACTER(LEN=default_string_length) :: description
449 REAL(KIND=
dp),
DIMENSION(:),
ALLOCATABLE :: buffer
452 CALL timeset(routinen, handle)
454 NULLIFY (qs_env, results)
459 CASE (
"hirshfeld_charges")
460 description =
"[HIRSHFELD-CHARGES]"
461 ALLOCATE (buffer(this%n_atoms), source=0.0_dp)
465 cpabort(
"The value chosen in "//routinen//
" is not implemented.")
468 CALL timestop(handle)
470 END SUBROUTINE send_result
476 SUBROUTINE send_grid_coordinates(this)
479 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_grid_coordinates'
481 INTEGER,
DIMENSION(3) :: npts_glob, npts, lb_glob, lb, ub
482 REAL(dp),
DIMENSION(3) :: origin
483 REAL(dp),
DIMENSION(3, 3) :: box_vectors
484 REAL(dp),
DIMENSION(:, :),
ALLOCATABLE :: coords
485 INTEGER :: handle, i, j, k, offset
487 CALL timeset(routinen, handle)
490 box_vectors = this%pw_info%pw_grid%dh
492 npts_glob = this%pw_info%pw_grid%npts
493 npts = this%pw_info%pw_grid%npts_local
495 lb_glob = this%pw_info%pw_grid%bounds(1, :)
496 lb = this%pw_info%pw_grid%bounds_local(1, :)
497 ub = this%pw_info%pw_grid%bounds_local(2, :)
499 ALLOCATE (coords(3, product(npts_glob)), source=0.0_dp)
500 offset = (lb(1) - lb_glob(1))*product(npts(2:))
505 coords(:, offset) = origin + box_vectors(:, 1)*real(i - lb_glob(1), dp) &
506 + box_vectors(:, 2)*real(j - lb_glob(2), dp) &
507 + box_vectors(:, 3)*real(k - lb_glob(3), dp)
511 CALL this%para_env%sum(coords)
515 CALL timestop(handle)
517 END SUBROUTINE send_grid_coordinates
523 SUBROUTINE receive_potential(this)
526 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':receive_potential'
528 INTEGER,
DIMENSION(3) :: npts, lb, ub
529 REAL(dp),
DIMENSION(:),
ALLOCATABLE,
TARGET :: buffer
530 REAL(dp),
DIMENSION(:),
ALLOCATABLE :: buffer_loc
531 REAL(dp),
DIMENSION(:),
POINTER :: buffer_p
532 INTEGER :: i, j, k, i_proc, offset
533 INTEGER :: handle, length, tag
535 CALL timeset(routinen, handle)
538 npts = this%pw_info%pw_grid%npts_local
539 lb = this%pw_info%pw_grid%bounds_local(1, :)
540 ub = this%pw_info%pw_grid%bounds_local(2, :)
541 ALLOCATE (buffer_loc(product(npts)))
545 IF (this%is_ionode)
THEN
546 ALLOCATE (buffer(product(this%pw_info%pw_grid%npts)))
550 DO i_proc = 0, this%para_env%num_pe - 1
551 length = product(this%npts_pproc(:, i_proc))
552 offset = this%lb_pproc(i_proc)*product(npts(2:)) + 1
553 buffer_p => buffer(offset:offset + length - 1)
554 IF (i_proc /= this%para_env%source)
THEN
556 CALL this%para_env%send(buffer_p, i, tag)
558 buffer_loc(:) = buffer_p
562 CALL this%para_env%recv(buffer_loc, this%para_env%source, tag)
571 this%potential%array(i, j, k) = -buffer_loc(offset)
576 CALL timestop(handle)
578 END SUBROUTINE receive_potential
584 SUBROUTINE send_density(this)
587 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_density'
589 INTEGER,
DIMENSION(3) :: npts, lb, ub
591 REAL(dp),
DIMENSION(:),
ALLOCATABLE,
TARGET :: buffer
592 REAL(dp),
DIMENSION(:),
ALLOCATABLE :: buffer_loc
593 REAL(dp),
DIMENSION(:),
POINTER :: buffer_p
594 INTEGER :: i_spin, i_proc, i, j, k, offset
595 INTEGER :: handle, length, tag
597 CALL timeset(routinen, handle)
599 NULLIFY (rho, buffer_p)
601 npts = this%pw_info%pw_grid%npts_local
602 lb = this%pw_info%pw_grid%bounds_local(1, :)
603 ub = this%pw_info%pw_grid%bounds_local(2, :)
604 ALLOCATE (buffer_loc(product(npts)))
608 DO i_spin = 1, this%n_spins
614 buffer_loc(offset) = buffer_loc(offset) + rho(i_spin)%array(i, j, k)
622 IF (.NOT. this%is_ionode)
THEN
623 CALL this%para_env%send(buffer_loc, this%para_env%source, tag)
625 ALLOCATE (buffer(product(this%pw_info%pw_grid%npts)))
627 DO i_proc = 0, this%para_env%num_pe - 1
628 length = product(this%npts_pproc(:, i_proc))
629 offset = this%lb_pproc(i_proc)*product(npts(2:)) + 1
630 buffer_p => buffer(offset:offset + length - 1)
631 IF (i_proc /= this%para_env%source)
THEN
633 CALL this%para_env%recv(buffer_p, i, tag)
635 buffer_p = buffer_loc
642 CALL timestop(handle)
644 END SUBROUTINE send_density
650 SUBROUTINE send_positions(this)
653 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_positions'
655 REAL(dp),
DIMENSION(:, :),
ALLOCATABLE :: buffer
656 INTEGER :: handle, i_atom
658 CALL timeset(routinen, handle)
660 ALLOCATE (buffer(3, this%n_atoms))
661 DO i_atom = 1, this%n_atoms
662 buffer(:, i_atom) = this%atoms%els(i_atom)%r
666 CALL timestop(handle)
668 END SUBROUTINE send_positions
674 SUBROUTINE receive_positions(this)
677 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':receive_positions'
679 REAL(dp),
DIMENSION(:, :),
ALLOCATABLE :: buffer
680 INTEGER :: handle, i_atom
682 CALL timeset(routinen, handle)
684 ALLOCATE (buffer(3, this%n_atoms))
686 CALL this%para_env%bcast(buffer)
687 DO i_atom = 1, this%n_atoms
688 this%atoms%els(i_atom)%r = buffer(:, i_atom)
691 CALL timestop(handle)
693 END SUBROUTINE receive_positions
699 SUBROUTINE send_forces(this)
702 CHARACTER(LEN=*),
PARAMETER :: routineN = modulen//
':send_forces'
704 REAL(dp),
DIMENSION(:, :),
ALLOCATABLE :: buffer
705 INTEGER :: handle, i_atom
707 CALL timeset(routinen, handle)
709 ALLOCATE (buffer(3, this%n_atoms))
710 DO i_atom = 1, this%n_atoms
711 buffer(:, i_atom) = this%atoms%els(i_atom)%f
715 CALL timestop(handle)
717 END SUBROUTINE send_forces
represent a simple array based list of the given type
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.
Defines control structures, which contain the parameters and the settings for the DFT-based calculati...
set of type/routines to handle the storage of results in force_envs
set of type/routines to handle the storage of results in force_envs
types that represent a subsys, i.e. a part of the system
subroutine, public cp_subsys_get(subsys, ref_count, atomic_kinds, atomic_kind_set, particles, particle_set, local_particles, molecules, molecule_set, molecule_kinds, molecule_kind_set, local_molecules, para_env, colvar_p, shell_particles, core_particles, gci, multipoles, natom, nparticle, ncore, nshell, nkind, atprop, virial, results, cell, cell_ref, use_ref_cell)
returns information about various attributes of the given subsys
real(kind=dp) function, public cp_unit_from_cp2k(value, unit_str, defaults, power)
converts from the internal cp2k units to the given unit
Interface for the force calculations.
recursive subroutine, public force_env_get(force_env, in_use, fist_env, qs_env, meta_env, fp_env, subsys, para_env, potential_energy, additional_potential, kinetic_energy, harmonic_shell, kinetic_shell, cell, sub_force_env, qmmm_env, qmmmx_env, eip_env, pwdft_env, globenv, input, force_env_section, method_name_id, root_section, mixed_env, nnp_env, embed_env, ipi_env)
returns various attributes about the force environment
Defines the basic variable types.
integer, parameter, public dp
integer, parameter, public default_string_length
Wrapper module for MiMiC Communication Library (MCL) routines.
subroutine, public mcl_is_initialized(is_initialized)
subroutine, public mcl_finalize()
subroutine, public mcl_get_program_id(id)
subroutine, public mcl_get_api_version(version)
Wrapper module for MiMiC Communication Library (MCL) request labels.
integer, parameter, public mcl_request
integer, parameter, public mcl_data
integer, parameter, public mcl_runtype_qm_rs_grid
integer, parameter, public mcl_length
Interface to the message passing library MPI.
Module containing a MiMiC communicator class.
subroutine initialize(this, force_env)
Initialize the communicator by loading data and saving pointers to relevant data.
represent a simple array based list of the given type
container for various plainwaves related things
subroutine, public pw_env_get(pw_env, pw_pools, cube_info, gridlevel_info, auxbas_pw_pool, auxbas_grid, auxbas_rs_desc, auxbas_rs_grid, rs_descs, rs_grids, xc_pw_pool, vdw_pw_pool, poisson_env, interp_section)
returns the various attributes of the pw env
Manages a pool of grids (to be used for example as tmp objects), but can also be used to instantiate ...
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, matrix_vhxc, 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, matrix_metric, matrix_metric_kp)
Get the QUICKSTEP environment.
subroutine, public set_qs_env(qs_env, super_cell, mos, qmmm, qmmm_periodic, mimic, ewald_env, ewald_pw, mpools, rho_external, external_vxc, mask, scf_control, rel_control, qs_charges, ks_env, ks_qmmm_env, wf_history, scf_env, active_space, input, oce, rho_atom_set, rho0_atom_set, rho0_mpole, run_rtp, rtp, rhoz_set, rhoz_tot, ecoul_1c, has_unit_metric, requires_mo_derivs, mo_derivs, mo_loc_history, efield, rhoz_cneo_set, linres_control, xas_env, cp_ddapc_env, cp_ddapc_ewald, outer_scf_history, outer_scf_ihistory, x_data, et_coupling, dftb_potential, se_taper, se_store_int_env, se_nddo_mpole, se_nonbond_env, admm_env, ls_scf_env, do_transport, transport_env, lri_env, lri_density, exstate_env, ec_env, dispersion_env, harris_env, gcp_env, mp2_env, bs_env, kg_env, force, kpoints, wanniercentres, almo_scf_env, gradient_history, variable_history, embed_pot, spin_embed_pot, polar_env, mos_last_converged, eeq, rhs, do_rixs, tb_tblite)
Set 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, hund_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, proj_shell_charge, lr_atom, do_mtlr, u_j_loop, ao_coef, 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 set_ks_env(ks_env, v_hartree_rspace, s_mstruct_changed, rho_changed, exc_accint, potential_changed, forces_up_to_date, complex_ks, matrix_h, matrix_h_im, matrix_ks, matrix_ks_im, matrix_vxc, kinetic, matrix_s, matrix_s_ri_aux, matrix_w, matrix_p_mp2, matrix_p_mp2_admm, matrix_vhxc, matrix_h_kp, matrix_h_im_kp, matrix_ks_kp, matrix_vxc_kp, kinetic_kp, matrix_s_kp, matrix_w_kp, matrix_s_ri_aux_kp, matrix_ks_im_kp, vppl, xcint_weights, rho_core, rho_nlcc, rho_nlcc_g, vee, neighbor_list_id, kpoints, sab_orb, sab_all, sac_ae, sac_ppl, sac_lri, sap_ppnl, sap_oce, sab_lrc, sab_se, sab_xtbe, sab_tbe, sab_core, sab_xb, sab_xtb_pp, sab_xtb_nonbond, sab_vdw, sab_scp, sab_almo, sab_kp, sab_kp_nosym, sab_cneo, task_list, task_list_soft, subsys, dft_control, dbcsr_dist, distribution_2d, pw_env, para_env, blacs_env, uspp, upf_inverse)
...
superstucture that hold various representations of the density and keeps track of which ones are vali...
subroutine, public qs_rho_get(rho_struct, rho_ao, rho_ao_im, rho_ao_kp, rho_ao_im_kp, rho_r, drho_r, rho_g, drho_g, tau_r, tau_g, rho_r_valid, drho_r_valid, rho_g_valid, drho_g_valid, tau_r_valid, tau_g_valid, tot_rho_r, tot_rho_g, rho_r_sccs, soft_valid, complex_rho_ao)
returns info about the density described by this object. If some representation is not available an e...
represent a list of objects
contains arbitrary information which need to be stored
represents a system: atoms, molecules, their pos,vel,...
wrapper to abstract the force evaluation of the various methods
stores all the informations relevant to an mpi environment
MiMiC communicator class that facilitates MiMiC client-server data exchange.
represent a list of objects
contained for different pw related things
Manages a pool of grids (to be used for example as tmp objects), but can also be used to instantiate ...
Provides all information about a quickstep kind.
calculation environment to calculate the ks matrix, holds all the needed vars. assumes that the core ...
keeps the density in various representations, keeping track of which ones are valid.