Open hugtalbot opened 2 years ago
What's the point here ?
Fact is that @fredroy noticed in the BeamAdapter that a mapping being defined as non-mechanical got still recurrent calls to applyJT()
while it should not be required
@fredroy could you try to add :
Inherit::init();
to call Mapping init()
which include the function testMechanicalState()
checking the isMechanical
property.
To be further discussed with @epernod @fredroy Question arose from the code: https://github.com/sofa-framework/BeamAdapter/blob/master/src/BeamAdapter/component/mapping/AdaptiveBeamMapping.h