PrevUpHomeNext

All examples

The following table gives an overview over all examples.

Table 1.5. Examples Overview

File

Brief Description

harmonic_oscillator.cpp

The harmonic oscillator examples gives a brief introduction to odeint and shows the usage of the classical Runge-Kutta-solvers.

simple1d.cpp

Integrating a simple, one-dimensional ODE showing the usage of integrate- and generate-functions.

elliptic_functions.cpp

Example calculating the elliptic functions using Bulirsch-Stoer and Runge-Kutta-Dopri5 Steppers with dense output.

solar_system.cpp

The solar system example shows the usage of the symplectic solvers.

chaotic_system.cpp

The chaotic system examples integrates the Lorenz system and calculates the Lyapunov exponents.

stiff_system.cpp

The stiff system example shows the usage of the stiff solvers using the Jacobian of the system function.

van_der_pol_stiff.cpp

This stiff system example again shows the usage of the stiff solvers by integrating the van der Pol osscillator.

stuart_landau.cpp

The Stuart-Landau example shows how odeint can be used with complex state types.

fpu.cpp

The Fermi-Pasta-Ulam (FPU) example shows how odeint can be used to integrate lattice systems.

phase_oscillator_ensemble.cpp

The phase oscillator ensemble example shows how globally coupled oscillators can be analyzed and how statistical measures can be computed during integration.

stepper_details.cpp

Trivial example showing the usability of the several stepper classes.

harmonic_oscillator_units.cpp

This examples shows how Boost.Units can be used with odeint.

two_dimensional_phase_lattice.cpp

The 2D phase oscillator example shows how a two-dimensional lattice works with odeint and how matrix types can be used as state types in odeint.

resizing_lattice.cpp

Shows the strength of odeint's memory management by simulating a Hamiltonian system on an expanding lattice.

list_lattice.cpp

Example of a phase lattice integration using std::list as state type.

lorenz_point.cpp

Alternative way of integrating lorenz by using a self defined point3d data type as state type.

lorenz_gmpxx.cpp

This examples integrates the Lorenz system by means of an arbitrary precision type.

my_vector.cpp

Simple example showing how to get odeint to work with a self-defined vector type.

phase_oscillator_ensemble.cu

The Thrust phase oscillator ensemble example shows how globally coupled oscillators can be analyzed with Thrust and CUDA, employing the power of modern graphic devices.

phase_oscillator_chain.cu

The Thrust phase oscillator chain example shows how chains of nearest neighbor coupled oscillators can be integrated with Thrust and odeint.

lorenz_parameters.cu

The Lorenz parameters examples show how ensembles of ordinary differential equations can be solved by means of Thrust to study the dependence of an ODE on some parameters.

gauss_packet.cpp

The MTL-Gauss-packet example shows how the MTL can be easily used with odeint.

stochastic_euler.cpp

Implementation of a custom stepper - the stochastic euler - for solving stochastic differential equations.

generation_functions.cpp

Shows skeletal code on how to implemente own factory functions.



PrevUpHomeNext