Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the charge #175

Closed
Cynthia-0807 opened this issue Mar 23, 2024 · 2 comments
Closed

update the charge #175

Cynthia-0807 opened this issue Mar 23, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Cynthia-0807
Copy link

Summary

implement of charmm fluctuating charge model(Charmm-FQ).

Motivation

Charges are update by extended lagrangian method in Charmm-FQ model,so they are changed with the time.I don't know how to implement the model,because DMFF seems to be static without the concept of the time. Only matrix inversion to solve the charge?

Suggested Solutions

No response

Further Information, Files, and Links

No response

@Cynthia-0807 Cynthia-0807 added the enhancement New feature or request label Mar 23, 2024
@KuangYu
Copy link
Collaborator

KuangYu commented Apr 25, 2024

Yes, for Qeq model, DMFF currently only supports rigorously adiabatic solutions (such as matrix inversion or root finding algorithms). It does not provide an extended-Lagrangian integrator yet. So you will have to implement the integrator yourself, or interface DMFF with a MD simulation package with this feature. However, DMFF can provide you with all the gradients you need for this task (like dU/dQ, which you would need in the integrator, can be computed trivially using DMFF).

And as we discussed in the last time, the speed could be a bigger concern if you are going to use DMFF in serious large scale simulations. When we interface DMFF with other MD packages, the data trafficing issue is slowing down the entire simulation. Things could be potentially better if we using JAX to write our own integrator, which is something we are probably going to do in future, but right now it is not the top priority of the development team (as DMFF was primarily designed for model optimization...).

@Cynthia-0807
Copy link
Author

Yes, for Qeq model, DMFF currently only supports rigorously adiabatic solutions (such as matrix inversion or root finding algorithms). It does not provide an extended-Lagrangian integrator yet. So you will have to implement the integrator yourself, or interface DMFF with a MD simulation package with this feature. However, DMFF can provide you with all the gradients you need for this task (like dU/dQ, which you would need in the integrator, can be computed trivially using DMFF).

And as we discussed in the last time, the speed could be a bigger concern if you are going to use DMFF in serious large scale simulations. When we interface DMFF with other MD packages, the data trafficing issue is slowing down the entire simulation. Things could be potentially better if we using JAX to write our own integrator, which is something we are probably going to do in future, but right now it is not the top priority of the development team (as DMFF was primarily designed for model optimization...).

Thanks for Prof. Yu's reply and suggestion! For my case, it is a better choice to inplement the model directly in MD engine without the data trafficing between the software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants