Skip to content
Snippets Groups Projects
  • Lisa Julia Nebel's avatar
    3ad0e2c6
    Fix error in nonplanarcosseratshellenergy · 3ad0e2c6
    Lisa Julia Nebel authored
    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.
    3ad0e2c6
    History
    Fix error in nonplanarcosseratshellenergy
    Lisa Julia Nebel authored
    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.