LLNL / serac

Serac is a high order nonlinear thermomechanical simulation code
BSD 3-Clause "New" or "Revised" License
173 stars 30 forks source link

Feature/isotropic tensor functions #1146

Closed btalamini closed 4 weeks ago

btalamini commented 1 month ago

Implements differentiable versions of commonly used tensor-valued functions of symmetric 3x3 tensors. In particular, the matrix logarithm, exponential, and square root are provided. The functions are based on the symmetric 3x3 spectral decomposition algorithm of Scherzinger and Dohrmann, so they should be accurate in the presence of repeated (or nearly repeated) eigenvalues, and reasonably fast.

btalamini commented 1 month ago

@chapman39, this PR is showing changes to axom which I don't intend. I made a mistake with the submodules when I merged in the main develop branch, but I don't know how to fix it. Can you give me a hand?

chapman39 commented 4 weeks ago

@btalamini No problem. ill create another PR re-adding the change.

In the future, a git submodule update --init --recursive would update your submodules locally so you don't accidentally commit a reverted version.