docs: update exp damper --> analytical linear damper
@@ -130,19 +130,19 @@ we can apply damping to the rods.
See [this page](../api/damping.rst) for in-depth explanations and documentation.
```python
-from elastica.dissipation import ExponentialDamper
+from elastica.dissipation import AnalyticalLinearDamper
nu = 1e-3 # Damping constant of the rod
dt = 1e-5 # Time-step of simulation in seconds
SystemSimulator.dampin(rod1).using(
- ExponentialDamper,
+ AnalyticalLinearDamper,
damping_constant = nu,
time_step = dt,
)
SystemSimulator.dampin(rod2).using(
- ExponentialDamper,
+ AnalyticalLinearDamper,
damping_constant = nu,
time_step = dt,
)
