Skip to content

Commit

Permalink
Merge pull request #75 from oberbichler/fix/half
Browse files Browse the repository at this point in the history
Fix factor
  • Loading branch information
oberbichler authored Jun 9, 2020
2 parents c815e89 + 4f049fb commit 1d799c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/eqlib/objectives/IgaMembrane3PAD.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class IgaMembrane3PAD : public Objective {

const auto eps = transformation_matrix * (act_a - ref_a).transpose() * 0.5;

const auto result = eps.dot(m_dm * eps) * weight;
const auto result = 0.5 * weight * eps.dot(m_dm * eps);

const index a = shape_functions.cols() * 3;

Expand Down

0 comments on commit 1d799c0

Please sign in to comment.