Skip to content
Snippets Groups Projects

Add nonplanarcosseratshellenergytest

Merged Nebel, Lisa Julia requested to merge fix/nonplanarcosseratshellenergy into master
  1. Jul 02, 2021
    • Lisa Julia Nebel's avatar
      Fix error in nonplanarcosseratenergy · f0f113e7
      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.
      f0f113e7
    • Lisa Julia Nebel's avatar
      Add nonplanarcosseratshellenergytest · 2eeed182
      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.
      2eeed182
Loading