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