https://github.com/feelpp/feelpp
Raw File
Tip revision: edde507e6b1db4d8d64d966cc121d5ca90d18f22 authored by Christophe Prud'homme on 01 November 2022, 22:28:51 UTC
support dynamic polynomial order #1984
Tip revision: edde507
BouncingBall.mo
model BouncingBall
  "The 'classic' bouncing ball model with numerical tolerances"
  parameter Real lambda=2 "Coefficient";
  Real y "y";
initial equation
  y = 1;
equation
  der(y) = -lambda*y;
end BouncingBall;
back to top