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