1[/============================================================================ 2 Boost.odeint 3 4 Copyright 2011-2013 Karsten Ahnert 5 Copyright 2011-2012 Mario Mulansky 6 Copyright 2012 Sylwester Arabas 7 Copyright 2013 Pascal Germroth 8 9 Use, modification and distribution is subject to the Boost Software License, 10 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 11 http://www.boost.org/LICENSE_1_0.txt) 12=============================================================================/] 13 14 15[table Examples Overview 16 [[File] [Brief Description]] 17 18 [[[github_link examples/bind_member_functions.cpp bind_member_functions.cpp]] 19 [This examples shows how member functions can be used as system functions in odeint.]] 20 21 [[[github_link examples/bind_member_functions.cpp bind_member_functions_cpp11.cpp]] 22 [This examples shows how member functions can be used as system functions in odeint with `std::bind` in C++11.]] 23 24 [[[github_link examples/bulirsch_stoer.cpp bulirsch_stoer.cpp]] 25 [Shows the usage of the Bulirsch-Stoer method.]] 26 27 [[[github_link examples/chaotic_system.cpp chaotic_system.cpp]] 28 [The chaotic system examples integrates the Lorenz system and calculates the Lyapunov exponents.]] 29 30 [[[github_link examples/elliptic_functions.cpp elliptic_functions.cpp]] 31 [Example calculating the elliptic functions using Bulirsch-Stoer and Runge-Kutta-Dopri5 Steppers with dense output.]] 32 33 [[[github_link examples/fpu.cpp fpu.cpp]] 34 [The Fermi-Pasta-Ulam (FPU) example shows how odeint can be used to integrate lattice systems.]] 35 36 [[[github_link examples/generation_functions.cpp generation_functions.cpp]] 37 [Shows skeletal code on how to implement own factory functions.]] 38 39 [[[github_link examples/harmonic_oscillator.cpp harmonic_oscillator.cpp]] 40 [The harmonic oscillator examples gives a brief introduction to odeint and shows the usage of the classical Runge-Kutta-solvers.]] 41 42 [[[github_link examples/harmonic_oscillator_units.cpp harmonic_oscillator_units.cpp]] 43 [This examples shows how __boost_units can be used with odeint.]] 44 45 [[[github_link examples/heun.cpp heun.cpp]] 46 [The Heun example shows how an custom Runge-Kutta stepper can be created with odeint generic Runge-Kutta method.]] 47 48 [[[github_link examples/list_lattice.cpp list_lattice.cpp]] 49 [Example of a phase lattice integration using `std::list` as state type.]] 50 51 [[[github_link examples/lorenz_point.cpp lorenz_point.cpp]] 52 [Alternative way of integrating lorenz by using a self defined point3d data type as state type.]] 53 54 [[[github_link examples/my_vector.cpp my_vector.cpp]] 55 [Simple example showing how to get odeint to work with a self-defined vector type.]] 56 57 [[[github_link examples/phase_oscillator_ensemble.cpp phase_oscillator_ensemble.cpp]] 58 [The phase oscillator ensemble example shows how globally coupled oscillators can be analyzed and how statistical measures can be computed during integration.]] 59 60 [[[github_link examples/resizing_lattice.cpp resizing_lattice.cpp]] 61 [Shows the strength of odeint's memory management by simulating a Hamiltonian system on an expanding lattice.]] 62 63 [[[github_link examples/simple1d.cpp simple1d.cpp]] 64 [Integrating a simple, one-dimensional ODE showing the usage of integrate- and generate-functions.]] 65 66 [[[github_link examples/solar_system.cpp solar_system.cpp]] 67 [The solar system example shows the usage of the symplectic solvers.]] 68 69 [[[github_link examples/stepper_details.cpp stepper_details.cpp]] 70 [Trivial example showing the usability of the several stepper classes.]] 71 72 [[[github_link examples/stiff_system.cpp stiff_system.cpp]] 73 [The stiff system example shows the usage of the stiff solvers using the Jacobian of the system function.]] 74 75 [[[github_link examples/stochastic_euler.cpp stochastic_euler.cpp]] 76 [Implementation of a custom stepper - the stochastic euler - for solving stochastic differential equations.]] 77 78 [[[github_link examples/stuart_landau.cpp stuart_landau.cpp]] 79 [The Stuart-Landau example shows how odeint can be used with complex state types.]] 80 81 [[[github_link examples/two_dimensional_phase_lattice.cpp two_dimensional_phase_lattice.cpp]] 82 [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.]] 83 84 [[[github_link examples/van_der_pol_stiff.cpp van_der_pol_stiff.cpp]] 85 [This stiff system example again shows the usage of the stiff solvers by integrating the van der Pol oscillator.]] 86 87 [[[github_link examples/gmpxx/lorenz_gmpxx.cpp gmpxx/lorenz_gmpxx.cpp]] 88 [This examples integrates the Lorenz system by means of an arbitrary precision type.]] 89 90 [[[github_link examples/mtl/gauss_packet.cpp mtl/gauss_packet.cpp]] 91 [The MTL-Gauss-packet example shows how the MTL can be easily used with odeint.]] 92 93 [[[github_link examples/mtl/implicit_euler_mtl.cpp mtl/implicit_euler_mtl.cpp]] 94 [This examples shows the usage of the MTL implicit Euler method with a sparse matrix type.]] 95 96 [[[github_link examples/thrust/phase_oscillator_ensemble.cu thrust/phase_oscillator_ensemble.cu]] 97 [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.]] 98 99 [[[github_link examples/thrust/phase_oscillator_chain.cu thrust/phase_oscillator_chain.cu]] 100 [The Thrust phase oscillator chain example shows how chains of nearest neighbor coupled oscillators can be integrated with Thrust and odeint.]] 101 102 [[[github_link examples/thrust/lorenz_parameters.cu thrust/lorenz_parameters.cu]] 103 [The Lorenz parameters examples show how ensembles of ordinary differential equations can be solved by means of Thrust to study 104 the dependence of an ODE on some parameters.]] 105 106 [[[github_link examples/thrust/relaxation.cu thrust/relaxation.cu]] 107 [Another examples for the usage of Thrust.]] 108 109 [[[github_link examples/ublas/lorenz_ublas.cpp ublas/lorenz_ublas.cpp]] 110 [This example shows how the ublas vector types can be used with odeint.]] 111 112 [[[github_link examples/vexcl/lorenz_ensemble.cpp vexcl/lorenz_ensemble.cpp]] 113 [This example shows how the VexCL - a framework for OpenCL computation - can be used with odeint.]] 114 115 [[[github_link examples/openmp/lorenz_ensemble_simple.cpp openmp/lorenz_ensemble_simple.cpp]] 116 [OpenMP Lorenz attractor parameter study with continuous data.]] 117 118 [[[github_link examples/openmp/lorenz_ensemble.cpp openmp/lorenz_ensemble.cpp]] 119 [OpenMP Lorenz attractor parameter study with split data.]] 120 121 [[[github_link examples/openmp/lorenz_ensemble.cpp openmp/lorenz_ensemble_nested.cpp]] 122 [OpenMP Lorenz attractor parameter study with nested `vector_space_algebra`.]] 123 124 [[[github_link examples/openmp/phase_chain.cpp openmp/phase_chain.cpp]] 125 [OpenMP nearest neighbour coupled phase chain with continuous state.]] 126 127 [[[github_link examples/openmp/phase_chain_omp_state.cpp openmp/phase_chain_omp_state.cpp]] 128 [OpenMP nearest neighbour coupled phase chain with split state.]] 129 130 [[[github_link examples/mpi/phase_chain.cpp mpi/phase_chain.cpp]] 131 [MPI nearest neighbour coupled phase chain.]] 132 133 [[[github_link examples/2d_lattice/spreading.cpp 2d_lattice/spreading.cpp]] 134 [This examples shows how a `vector< vector< T > >` can be used a state type for odeint and how a resizing mechanism of this state can be implemented.]] 135 136 [[[github_link examples/quadmath/black_hole.cpp quadmath/black_hole.cpp]] 137 [This examples shows how gcc libquadmath can be used with odeint. It provides a high precision floating point type which is adapted to odeint in this example.]] 138 139 [[[github_link examples/molecular_dynamics.cpp molecular_dynamics.cpp]] 140 [A very basic molecular dynamics simulation with the Velocity-Verlet method.]] 141 142] 143