Skip to content
Snippets Groups Projects

Fix error in nonplanarcosseratshellenergy

  1. Jul 02, 2021
    • Lisa Julia Nebel's avatar
      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
    • Lisa Julia Nebel's avatar
      Add nonplanarcosseratshellenergytest · 4bebd0ef
      Lisa Julia Nebel authored
      Add a simple test with a grid containing one element testing if the energy is invariant of the number of grid refinements.
      4bebd0ef
Loading