Skip to content
Snippets Groups Projects
Commit 3b0b4415 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

small bug in getStrain fixed

[[Imported from SVN: r1060]]
parent fe461162
No related branches found
No related tags found
No related merge requests found
......@@ -738,7 +738,7 @@ getStrain(const std::vector<Configuration>& sol,
FieldVector<double,blocksize> localStrain = getStrain(sol, it, quad[pt].position());
// Sum it all up
strain.axpy(weight, localStrain);
strain[elementIdx].axpy(weight, localStrain);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment