<div>Dear Sagnik,</div><div>I am not entirely sure what you mean by changing the pseudopotential. Do you really intend to change the pseudopotential files on the fly? What is your workflow to achieve that? Wouldn't it be possible to just modify the values locally?</div><div>Regards,</div><div>Frederick<br /></div><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">Sagnik Mukhopadhyay schrieb am Mittwoch, 6. November 2024 um 12:52:12 UTC+1:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Dear CP2K community,</div><div><br></div><div>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.<br>Below I have provided how the md_run.F might be connected to the pseduopotential initialization.<br><br>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)<br><br>Any suggestions how can this be done?</div><div><br></div><div>Regards</div><div>Sagnik<br></div></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion visit <a href="https://groups.google.com/d/msgid/cp2k/4454dbf7-452d-4aca-afe0-e383b3e2dcben%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/4454dbf7-452d-4aca-afe0-e383b3e2dcben%40googlegroups.com</a>.<br />