Skip to content

Commit

Permalink
Update src/BeamAdapter/component/forcefield/AdaptiveBeamForceFieldAnd…
Browse files Browse the repository at this point in the history
…Mass.inl

Co-authored-by: Alex Bilger <[email protected]>
  • Loading branch information
EulalieCoevoet and alxbilger authored Oct 20, 2023
1 parent aa8fda6 commit 85cd049
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,8 @@ void AdaptiveBeamForceFieldAndMass<DataTypes>::addKToMatrix(const MechanicalPara
template<class DataTypes>
void AdaptiveBeamForceFieldAndMass<DataTypes>::buildStiffnessMatrix(core::behavior::StiffnessMatrix* matrix)
{
unsigned int numBeams = l_interpolation->getNumBeams();
const unsigned int numBeams = l_interpolation->getNumBeams();


auto dfdx = matrix->getForceDerivativeIn(this->mstate)
.withRespectToPositionsIn(this->mstate);
Expand Down

0 comments on commit 85cd049

Please sign in to comment.