Open Shimul-Baidya opened 2 weeks ago
Hi @Shimul-Baidya,
I don't know exacly why the implementation in the preprocessor is limited to the one body case, probably because no one ever needed to use the other cases with the PP, yet... ':)
I think that covering all the possible variants of Body is the correct way to go, even if it requires a bit more of effort.
Cheers, Andrea
Hey @zanoni-mbdyn,
I was reviewing the Body class implementation and noticed that it only covers the case. According to the MBDyn specification, the following cases should also be handled:
<one_pointmass>
: This case is not currently covered, even though it represents a simpler definition with just mass.<one_vm_body>
: The implementation does not handle the variable mass body case, which requires additional elements like relative_center_of_mass, variable_mass_inertia_matrix, and variable_geometry_inertia_matrix.condense
with multiple masses: The implementation does not support the condense case, where multiple sub-masses are defined for a single body.Is there a specific reason why these cases were not included in the current implementation? Should we consider extending the class to handle these scenarios, or was there another approach in mind?