Skip to content
Snippets Groups Projects
Commit bd97e290 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Fix error in nonplanarcosseratshellenergy

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.
parent 2eeed182
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment