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

Feature request: Descriptor gradients #20

Open
NicklasOsterbacka opened this issue May 4, 2023 · 2 comments
Open

Feature request: Descriptor gradients #20

NicklasOsterbacka opened this issue May 4, 2023 · 2 comments

Comments

@NicklasOsterbacka
Copy link

I would like to be able to access gradients of descriptors w.r.t. atomic coordinates for some prototype work I am doing with Calorine. Would it be possible to write a function for this in NEP_CPU, @brucefan1983? From what I can tell, the gradients are currently baked directly into the force expressions which makes it hard for me to see which bits would go where.

@brucefan1983
Copy link
Owner

brucefan1983 commented May 4, 2023

Could you specify the exact quantity you need? Is it

$$ \frac{\partial q_{\nu}^i} {\partial \vec{r}_{ij}} $$

for all the atoms $i$ and all the neighbors $j$, and all the descriptor component $\nu$?

I am also curious what will be the usage.

@NicklasOsterbacka
Copy link
Author

Yes, those should be the quantities I would like to access!

I have sent you an email with the details. Hope that's alright!

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

No branches or pull requests

2 participants