mbsim-env / mbsim

A multi-body simulation software
https://www.mbsim-env.de
GNU Lesser General Public License v2.1
42 stars 16 forks source link

Heap-Allocation / Sub-Matrix Handling #36

Closed GoogleCodeExporter closed 6 years ago

GoogleCodeExporter commented 9 years ago
In LinkMechanics every contour and/or frame of the link creates 
direction-matrices for the non-smooth projection (init()-->unknownStage). 
However, only a reference should be enough and is done anyways (e.g. 
updateWRef()). 
Right now a hack (due to empty matrices) seems to solve the problem of 
unnecessary heap-allocation but conceptually this might not be the clean way to 
do it...

Original issue reported on code.google.com by kgrundl on 20 May 2014 at 9:25

foerg commented 6 years ago

Class MechanicalLink has been revised.