Skip to content

Commit d17d781

Browse files
committed
Using different assembly method for forces of beam domain so that reaction forces are processed correctly.
1 parent ccf4966 commit d17d781

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

FEBioMech/FEElasticBeamDomain.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void FEElasticBeamDomain::InternalForces(FEGlobalVector& R)
158158

159159
vector<int> lm(6*ne);
160160
UnpackLM(el, lm);
161-
R.Assemble(lm, fe);
161+
R.Assemble(el.m_node, lm, fe);
162162
}
163163
}
164164

@@ -520,7 +520,7 @@ void FEElasticBeamDomain::InertialForces(FEGlobalVector& R, std::vector<double>&
520520
ElementInertialForce(el, fe);
521521
vector<int> lm(6 * neln);
522522
UnpackLM(el, lm);
523-
R.Assemble(lm, fe);
523+
R.Assemble(el.m_node, lm, fe);
524524
}
525525
}
526526

@@ -668,7 +668,7 @@ void FEElasticBeamDomain::BodyForce(FEGlobalVector& R, FEBodyForce& bf)
668668

669669
vector<int> lm(6 * ne);
670670
UnpackLM(el, lm);
671-
R.Assemble(lm, fe);
671+
R.Assemble(el.m_node, lm, fe);
672672
}
673673
}
674674

0 commit comments

Comments
 (0)