Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Avoid zero-division under uniaxial compression
This fixes a zero-division for some orientations under uniaxial compression, by catching the problematic values for slip invariants and returning null-values for orientation change and grain growth. There are some conditions where slip is simply not possible at all, and it is worth adding this check even though most Real World Problems are unlikely to hit this issue (strain rates would normally have pure shear, simple shear and compressional components combined).
- Loading branch information