Skip to content

New simulate method

Compare
Choose a tag to compare
@rajgiriUW rajgiriUW released this 27 May 00:13
· 300 commits to master since this release
24219a2

This now keeps the Cantilever as a base class with relevant implementations and allows user to implement a parent that inherits this class.

Advantages:

  • Makes the code for electricDrive its own file, same with MechanicalDrive
  • Allows users to allow any arbitrary change (some exotic modification of the force) but keeps all the mild bookkeeping and large init file behind the scenes.
  • MechanicalDrive is now edited to allow an arbitrary function passed as the excitation OR a voltage_array