-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat(conformational_tensor): Compute B tensor components and transf…
…orm Omega to physical space The changes in this commit improve the computation of the B tensor components and the transformation of the rotation tensor Omega to the original coordinate system. The key changes are: 1. Compute M = R * (nablaU)^T * R^T, where nablaU is the velocity gradient tensor. 2. Calculate omega using the off-diagonal elements of M and eigenvalues. 3. Transform omega back to physical space to get Omega. 4. Compute B tensor components using M and R, ensuring B is symmetric and traceless. 5. Initialize the pseudo_t and pseudo_v variables before use to avoid uninitialized values. These changes provide a more accurate and robust implementation of the conformational tensor computation.
- Loading branch information
Showing
1 changed file
with
53 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters