Open jonniedie opened 3 years ago
@jonniedie @YingboMa @ChrisRackauckas Are LagrangianSystem
and HamiltonianSystem
still desired in ModelingToolkit
? I've been working on integrating galactic potential equations (in the integral / scalar form), and I created a new ScalarField
subtype of AbstractTimeDependentSystem
for this purpose. I think HamiltonianSystem
would be more appropriate, and I'd be interested in helping to contribute this type if it's still desired in the SciML ecosystem.
I think it would be nice to have these alternative system forms, making it easier to generate the equations of motion. I'd be happy to review PRs around it but never got to it myself.
Based on this here's a first crack at how to handle Lagrangian systems.
When @YingboMa gets this stuff implemented, I can open up a PR along these lines.