Fix error in nonplanarcosseratshellenergy
Compare changes
- 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.
@@ -230,6 +230,9 @@ energy(const typename Basis::LocalView& localView,