[CP2K-user] [CP2K:20865] Changing pseudopotential in each ionic step

Sagnik Mukhopadhyay sagnikm2017 at gmail.com
Wed Nov 6 11:34:36 UTC 2024


Dear CP2K community,

CP2K reads the pseduopotential once to setup the QS. For subsequent ionic 
steps it wont be read. In my code I am making a change in the 
qs_mol_dyn_low(md_run.F) which alters the zeff_correction. However I am 
struggling to implement the code so that cp2k reinitialize the QS for each 
step, i.e reads the pseudopotenital or alters it for every ionic step.
Below I have provided how the md_run.F might be connected to the 
pseduopotential initialization.

get_qs_kind_set(qs_environment.F) --> build_core_ppl(core_ppl.F) --> 
core_matrices(qs_core_hamiltonian.F) --> 
build_core_hamiltonian_matrix(qs_core_hamiltonian.F) --> 
qs_forces(qs_force.F) --> qs_calc_energy_force(qs_force.F) --> 
qmmm_calc_energy_force(qmmm_force.F) --> 
force_env_calc_energy_force(force_env_methods.F) --> 
qs_mol_dyn_low(md_run.F)

Any suggestions how can this be done?

Regards
Sagnik

-- 
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/0aff1313-ef4d-48d8-9791-e0e13cd9ba1cn%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20241106/70ce7446/attachment-0001.htm>


More information about the CP2K-user mailing list