BeamAdapter
BeamAdapter copied to clipboard
[Interpolation] Add BaseBeamInterpolation class to gather all methods linked to interpolation
- Move all methods linked to interpolation from
BeamInterpolationintoBaseBeamInterpolationclass. - Make
BeamInterpolationinherite fromBaseBeamInterpolation. - And make also
WireBeamInterpolationinheriting fromBaseBeamInterpolation.
This avoid multiple physical parameters entry between BeamInterpolation and the mechanism of WireRestShape + RodSection.
Now, to simulate:
- A fixed Beam, you should use:
BeamInterpolationand set the geometry and material properties directly inside this component. - For adaptiveBeam, you should use
WireBeamInterpolationand set all geometry and material properties into eachRodSectionset in theWireRestShape
This PR only move code and change some inheritance and pointer type. Big cleaning into the code will come in next PRs