You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the following version: VersionTuple(major=4, minor=4, micro=0, releaselevel='alpha', serial=0) for RAMSES.
When I create a YTSphere, setting a new normal parameter set_field_parameter('normal', J), the computed angular momentum quantities.angular_momentum_vector() using only star particles differs significantly if I do not define a new normal parameter. This is not the case if I repeat the process using gas. The angular momentum by gas is the same if the normal parameter is redefine or not.
It looks like the system of reference is different for stars than gas after a new definition of the normal direction of the sphere.
Hi @V-Nathir ! One quick idea: this looks related to #4872 which was merged to main back in April. If you're seeing this behavior in an environment you set up before April, can you try using the latest version of main? If your install already includes it we'll have to look elsewhere...
Bug report
Bug summary
I am using the following version:
VersionTuple(major=4, minor=4, micro=0, releaselevel='alpha', serial=0)
for RAMSES.When I create a YTSphere, setting a new normal parameter
set_field_parameter('normal', J)
, the computed angular momentumquantities.angular_momentum_vector()
using only star particles differs significantly if I do not define a new normal parameter. This is not the case if I repeat the process using gas. The angular momentum by gas is the same if the normal parameter is redefine or not.It looks like the system of reference is different for stars than gas after a new definition of the normal direction of the sphere.
Code for reproduction
Actual outcome
Expected outcome
The vector (angular momentum) given by gas remains the same but the one given by stars is completely shifted.
Version Information
The text was updated successfully, but these errors were encountered: