Skip to content
Snippets Groups Projects

Fix error in nonplanarcosseratshellenergy

Compare changes
  • Side-by-side
  • Inline
Files
1
  • 3ad0e2c6
    The contravariant base vectors were not calculated correctly.
    The contravariant base vectors are the *columns* of the inverse of the covariant matrix, not the rows.
    To fix this, take the rows of the transpose of inverse of the covariant matrix.
Loading