GSoC 2021 - Week 7
27 Jul 2021Key highlights
of this week’s work are:
-
- Made
JointsMethod
work with bothKanesMethod
andLagrangesMethod
and with all other future methods too if they are made according to previous methods. Also explicitly addedkinetic_energy
to classBody
since compiler can’t decide a Body object is aRigidBody
orParticle
becauseBody
inherits both classes so introducedis_particle
andis_rigidbody
toBody
,Particle
andRigidBody
so that they can be differentiated.
- Made
-
Add new abstract base class for methods
- Added a new class
_Methods
, which is to be inherited byKanesMethod
,LagrangesMethod
and other methods which would be made in future to make them similar to each other and make all methods to work withJointsMethod
.
- Added a new class