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

Unit speed with mass matrix. #110

Open
mschauer opened this issue Jun 15, 2022 · 1 comment
Open

Unit speed with mass matrix. #110

mschauer opened this issue Jun 15, 2022 · 1 comment

Comments

@mschauer
Copy link
Owner

When having a mass matrix/momentum covariance F.U,

PDMats.unwhiten(F.U, normalize!(randn(rng, length(v))))

gives a notion of a metrical unit speed. How do I have to choose the reflection

   z = F.U * ∇ϕx
   v .-= (2*dot(∇ϕx, v)/dot(∇ϕx, z)) * z

to preserve this? @SebaGraz How did you calculate the reflection under a mass matrix?

@mschauer
Copy link
Owner Author

The simplest way seems to be to keep non-unit speed but take records at an intensity proportional to speed.

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

1 participant