Skip to content

Commit f799a75

Browse files
committed
Zero out backsubstitution (#155)
1 parent 6a6ab73 commit f799a75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/MultiPointConstraint.h

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ class MultiPointConstraint
130130
{
131131
for (auto slave : _slaves)
132132
{
133+
// Zero out intial data in slave dof
134+
vector[slave] = 0.0;
135+
// Accumulate master contributions
133136
auto masters = _master_map->links(slave);
134137
auto coeffs = _coeff_map->links(slave);
135138
assert(masters.size() == coeffs.size());

0 commit comments

Comments
 (0)