@@ -156,11 +156,6 @@ class BeamLengthMapping : public Mapping<TIn, TOut>
156156 virtual void applyJ (const MechanicalParams *mparams, Data<VecDeriv>& out, const Data<InVecDeriv>& in) override ;
157157 virtual void applyJT (const MechanicalParams *mparams, Data<InVecDeriv>& out, const Data<VecDeriv>& in) override ;
158158 virtual void applyJT (const ConstraintParams *cparams, Data<InMatrixDeriv>& out, const Data<OutMatrixDeriv>& in) override ;
159- virtual void applyDJT (const MechanicalParams* mparams, core::MultiVecDerivId parentDfId, core::ConstMultiVecDerivId childDfId) override ;
160-
161- // interface of baseMapping.h
162- virtual void updateK ( const MechanicalParams* /* mparams*/ , core::ConstMultiVecDerivId /* outForce*/ ) override ;
163- const linearalgebra::BaseMatrix* getK () override ;
164159
165160
166161
@@ -179,6 +174,12 @@ class BeamLengthMapping : public Mapping<TIn, TOut>
179174 /* Vec3 F0_buf, F1_buf, F2_buf, F3_buf; // Used for debug */
180175 SparseKMatrixEigen K_geom;
181176
177+ virtual void doApplyDJT (const MechanicalParams* mparams, core::MultiVecDerivId parentDfId, core::ConstMultiVecDerivId childDfId) override ;
178+
179+ // interface of baseMapping.h
180+ virtual void doUpdateK ( const MechanicalParams* /* mparams*/ , core::ConstMultiVecDerivId /* outForce*/ ) override ;
181+ const linearalgebra::BaseMatrix* doGetK () override ;
182+
182183 // used for applyJ on one beam
183184 void computeJSpline (Real &dlength, const Vec3& P0, const Vec3& P1, const Vec3& P2, const Vec3& P3,
184185 const Vec3& dP0, const Vec3& dP1, const Vec3& dP2, const Vec3& dP3);
0 commit comments