Skip to content
Snippets Groups Projects
Commit ac2c8b45 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Bugfix in method writeDisplacement

The transfer from the periodic to the non-periodic basis was wrong.
parent de279c23
Branches
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ void writeDisplacement(const Basis& basis, const Vector& periodicX, const FieldM
// Add the underlying affine displacement. For this we need
// a representation in a non-periodic basis.
BCRSMatrix<double> matrix;
BCRSMatrix<FieldMatrix<double,2,2> > matrix;
assembleGlobalBasisTransferMatrix(matrix, basis, nonperiodicPowerBasis);
Vector nonperiodicX(nonperiodicBasis.size());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment