Open hugtalbot opened 11 months ago
trackInternalData
to remove
[ci-build][with-all-tests]
Similar feature is merged for the ConstantForceField in #3924. It adds separate callbacks for each data but a hacky flag allows to avoid data cross-dependency by de-activating all inputs non-set at the initialization. It could be done here as well but a more robust implementation (Data, callback) could be found.
Add a unit test to make sure that no data cross-dependency is triggered. Manual test as well.
In the spirit of #3900 and following #3924, this PR applies the change on the MeshMatrixMass.
To be noted:
componentState
must be added to trigger the callback (done inaddMDx()
,addMToMatrix
,accFromF
andbuildMassMatrix
)By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if