core.models.uma.common.rotation#

Copyright (c) Meta Platforms, Inc. and affiliates.

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

Attributes#

Functions#

init_edge_rot_mat(edge_distance_vec[, rot_clip])

wigner_D(→ torch.Tensor)

_z_rot_mat(→ torch.Tensor)

rotation_to_wigner(→ torch.Tensor)

set <rot_clip=True> to handle gradient instability when using gradient-based force/stress prediction.

Module Contents#

core.models.uma.common.rotation.YTOL = 0.999999#
core.models.uma.common.rotation.init_edge_rot_mat(edge_distance_vec, rot_clip=False)#
core.models.uma.common.rotation.wigner_D(lv: int, alpha: torch.Tensor, beta: torch.Tensor, gamma: torch.Tensor, _Jd: list[torch.Tensor]) torch.Tensor#
core.models.uma.common.rotation._z_rot_mat(angle: torch.Tensor, lv: int) torch.Tensor#
core.models.uma.common.rotation.rotation_to_wigner(edge_rot_mat: torch.Tensor, start_lmax: int, end_lmax: int, Jd: list[torch.Tensor], rot_clip: bool = False) torch.Tensor#

set <rot_clip=True> to handle gradient instability when using gradient-based force/stress prediction.