Codes
- The Runge-Kutta 4th order modular ODE solver for the
mass on a spring problem
- Initial conditions generator code,
HO_setup.c or
HO_setup.cpp ,
to display Harmonic Oscillator and one-well modified phase space
- Initial conditions generator code,
2w_setup.c or
2w_setup.cpp ,
to display
phase space of two-well potential phase space
- Initial conditions generator code,
2w_setup_homclinic.c or
2w_setup_homclinic.cpp ,
to display homoclinic orbit in two-well potential
- Initial conditions generator code,
2w_setup_chaotic_attractor.c or
2w_setup_chaotic_attractor.cpp ,
to display the chaotic attractor in a dissipative driven two-well potential
- Stroboscopic analysis code,
stroboscopic.c or
stroboscopic.cpp ,
to display the chaotic attractor in a dissipative driven one- or
two-well potential. It assumes omega = 1.0
ODE solver code: duffing.c or
duffing.cpp
Model Parameters
The following are suggested parameters that lead to interesting results.
One-well Duffing Oscillator:
Parameters:
,
,
,
and
in the range [2.0, 35.5]
Two-well Duffing Oscillator
Parameters:
,
,
,
and
with values
[0.22, 0.245, 0.4]
Michel Vallieres
2014-03-04