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

mpm99 #8603

Open
Bryan-Wong919 opened this issue Nov 21, 2024 · 1 comment
Open

mpm99 #8603

Bryan-Wong919 opened this issue Nov 21, 2024 · 1 comment
Labels
question Question on using Taichi

Comments

@Bryan-Wong919
Copy link

Bryan-Wong919 commented Nov 21, 2024

Hi, in mpm99's g2p procedure, when updating the velocity gradient C, why is the square of the "inverse_dx" not used, because in the following formula, it is the square form.
image
but in the code only one square of inverse_dx was used:
image
Looking forward to your early reply!

@Bryan-Wong919 Bryan-Wong919 added the question Question on using Taichi label Nov 21, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Nov 21, 2024
@Bryan-Wong919
Copy link
Author

I figure it out! Because in the g2p dpos does not multiply dx:
image
so that If dpos is multiplied by dx, then multiplying by the square of inv_dx cancels out a dx, so it is only multiplied by inv_dx, not by its square.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
Status: Untriaged
Development

No branches or pull requests

1 participant