• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>All examples</title>
5<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Chapter 1. Boost.Numeric.Odeint">
8<link rel="up" href="../tutorial.html" title="Tutorial">
9<link rel="prev" href="parallel_computation_with_openmp_and_mpi.html" title="Parallel computation with OpenMP and MPI">
10<link rel="next" href="../odeint_in_detail.html" title="odeint in detail">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../logo.jpg"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="parallel_computation_with_openmp_and_mpi.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../odeint_in_detail.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="boost_numeric_odeint.tutorial.all_examples"></a><a class="link" href="all_examples.html" title="All examples">All examples</a>
28</h3></div></div></div>
29<p>
30        The following table gives an overview over all examples.
31      </p>
32<div class="table">
33<a name="boost_numeric_odeint.tutorial.all_examples.examples_overview"></a><p class="title"><b>Table 1.4. Examples Overview</b></p>
34<div class="table-contents"><table class="table" summary="Examples Overview">
35<colgroup>
36<col>
37<col>
38</colgroup>
39<thead><tr>
40<th>
41                <p>
42                  File
43                </p>
44              </th>
45<th>
46                <p>
47                  Brief Description
48                </p>
49              </th>
50</tr></thead>
51<tbody>
52<tr>
53<td>
54                <p>
55                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/bind_member_functions.cpp" target="_top">bind_member_functions.cpp</a>
56                </p>
57              </td>
58<td>
59                <p>
60                  This examples shows how member functions can be used as system
61                  functions in odeint.
62                </p>
63              </td>
64</tr>
65<tr>
66<td>
67                <p>
68                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/bind_member_functions.cpp" target="_top">bind_member_functions_cpp11.cpp</a>
69                </p>
70              </td>
71<td>
72                <p>
73                  This examples shows how member functions can be used as system
74                  functions in odeint with <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">bind</span></code>
75                  in C++11.
76                </p>
77              </td>
78</tr>
79<tr>
80<td>
81                <p>
82                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/bulirsch_stoer.cpp" target="_top">bulirsch_stoer.cpp</a>
83                </p>
84              </td>
85<td>
86                <p>
87                  Shows the usage of the Bulirsch-Stoer method.
88                </p>
89              </td>
90</tr>
91<tr>
92<td>
93                <p>
94                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/chaotic_system.cpp" target="_top">chaotic_system.cpp</a>
95                </p>
96              </td>
97<td>
98                <p>
99                  The chaotic system examples integrates the Lorenz system and calculates
100                  the Lyapunov exponents.
101                </p>
102              </td>
103</tr>
104<tr>
105<td>
106                <p>
107                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/elliptic_functions.cpp" target="_top">elliptic_functions.cpp</a>
108                </p>
109              </td>
110<td>
111                <p>
112                  Example calculating the elliptic functions using Bulirsch-Stoer
113                  and Runge-Kutta-Dopri5 Steppers with dense output.
114                </p>
115              </td>
116</tr>
117<tr>
118<td>
119                <p>
120                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/fpu.cpp" target="_top">fpu.cpp</a>
121                </p>
122              </td>
123<td>
124                <p>
125                  The Fermi-Pasta-Ulam (FPU) example shows how odeint can be used
126                  to integrate lattice systems.
127                </p>
128              </td>
129</tr>
130<tr>
131<td>
132                <p>
133                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/generation_functions.cpp" target="_top">generation_functions.cpp</a>
134                </p>
135              </td>
136<td>
137                <p>
138                  Shows skeletal code on how to implement own factory functions.
139                </p>
140              </td>
141</tr>
142<tr>
143<td>
144                <p>
145                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/harmonic_oscillator.cpp" target="_top">harmonic_oscillator.cpp</a>
146                </p>
147              </td>
148<td>
149                <p>
150                  The harmonic oscillator examples gives a brief introduction to
151                  odeint and shows the usage of the classical Runge-Kutta-solvers.
152                </p>
153              </td>
154</tr>
155<tr>
156<td>
157                <p>
158                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/harmonic_oscillator_units.cpp" target="_top">harmonic_oscillator_units.cpp</a>
159                </p>
160              </td>
161<td>
162                <p>
163                  This examples shows how <a href="http://www.boost.org/doc/libs/release/libs/units/" target="_top">Boost.Units</a>
164                  can be used with odeint.
165                </p>
166              </td>
167</tr>
168<tr>
169<td>
170                <p>
171                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/heun.cpp" target="_top">heun.cpp</a>
172                </p>
173              </td>
174<td>
175                <p>
176                  The Heun example shows how an custom Runge-Kutta stepper can be
177                  created with odeint generic Runge-Kutta method.
178                </p>
179              </td>
180</tr>
181<tr>
182<td>
183                <p>
184                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/list_lattice.cpp" target="_top">list_lattice.cpp</a>
185                </p>
186              </td>
187<td>
188                <p>
189                  Example of a phase lattice integration using <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">list</span></code>
190                  as state type.
191                </p>
192              </td>
193</tr>
194<tr>
195<td>
196                <p>
197                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/lorenz_point.cpp" target="_top">lorenz_point.cpp</a>
198                </p>
199              </td>
200<td>
201                <p>
202                  Alternative way of integrating lorenz by using a self defined point3d
203                  data type as state type.
204                </p>
205              </td>
206</tr>
207<tr>
208<td>
209                <p>
210                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/my_vector.cpp" target="_top">my_vector.cpp</a>
211                </p>
212              </td>
213<td>
214                <p>
215                  Simple example showing how to get odeint to work with a self-defined
216                  vector type.
217                </p>
218              </td>
219</tr>
220<tr>
221<td>
222                <p>
223                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/phase_oscillator_ensemble.cpp" target="_top">phase_oscillator_ensemble.cpp</a>
224                </p>
225              </td>
226<td>
227                <p>
228                  The phase oscillator ensemble example shows how globally coupled
229                  oscillators can be analyzed and how statistical measures can be
230                  computed during integration.
231                </p>
232              </td>
233</tr>
234<tr>
235<td>
236                <p>
237                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/resizing_lattice.cpp" target="_top">resizing_lattice.cpp</a>
238                </p>
239              </td>
240<td>
241                <p>
242                  Shows the strength of odeint's memory management by simulating
243                  a Hamiltonian system on an expanding lattice.
244                </p>
245              </td>
246</tr>
247<tr>
248<td>
249                <p>
250                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/simple1d.cpp" target="_top">simple1d.cpp</a>
251                </p>
252              </td>
253<td>
254                <p>
255                  Integrating a simple, one-dimensional ODE showing the usage of
256                  integrate- and generate-functions.
257                </p>
258              </td>
259</tr>
260<tr>
261<td>
262                <p>
263                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/solar_system.cpp" target="_top">solar_system.cpp</a>
264                </p>
265              </td>
266<td>
267                <p>
268                  The solar system example shows the usage of the symplectic solvers.
269                </p>
270              </td>
271</tr>
272<tr>
273<td>
274                <p>
275                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/stepper_details.cpp" target="_top">stepper_details.cpp</a>
276                </p>
277              </td>
278<td>
279                <p>
280                  Trivial example showing the usability of the several stepper classes.
281                </p>
282              </td>
283</tr>
284<tr>
285<td>
286                <p>
287                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/stiff_system.cpp" target="_top">stiff_system.cpp</a>
288                </p>
289              </td>
290<td>
291                <p>
292                  The stiff system example shows the usage of the stiff solvers using
293                  the Jacobian of the system function.
294                </p>
295              </td>
296</tr>
297<tr>
298<td>
299                <p>
300                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/stochastic_euler.cpp" target="_top">stochastic_euler.cpp</a>
301                </p>
302              </td>
303<td>
304                <p>
305                  Implementation of a custom stepper - the stochastic euler - for
306                  solving stochastic differential equations.
307                </p>
308              </td>
309</tr>
310<tr>
311<td>
312                <p>
313                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/stuart_landau.cpp" target="_top">stuart_landau.cpp</a>
314                </p>
315              </td>
316<td>
317                <p>
318                  The Stuart-Landau example shows how odeint can be used with complex
319                  state types.
320                </p>
321              </td>
322</tr>
323<tr>
324<td>
325                <p>
326                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/two_dimensional_phase_lattice.cpp" target="_top">two_dimensional_phase_lattice.cpp</a>
327                </p>
328              </td>
329<td>
330                <p>
331                  The 2D phase oscillator example shows how a two-dimensional lattice
332                  works with odeint and how matrix types can be used as state types
333                  in odeint.
334                </p>
335              </td>
336</tr>
337<tr>
338<td>
339                <p>
340                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/van_der_pol_stiff.cpp" target="_top">van_der_pol_stiff.cpp</a>
341                </p>
342              </td>
343<td>
344                <p>
345                  This stiff system example again shows the usage of the stiff solvers
346                  by integrating the van der Pol oscillator.
347                </p>
348              </td>
349</tr>
350<tr>
351<td>
352                <p>
353                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/gmpxx/lorenz_gmpxx.cpp" target="_top">gmpxx/lorenz_gmpxx.cpp</a>
354                </p>
355              </td>
356<td>
357                <p>
358                  This examples integrates the Lorenz system by means of an arbitrary
359                  precision type.
360                </p>
361              </td>
362</tr>
363<tr>
364<td>
365                <p>
366                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/mtl/gauss_packet.cpp" target="_top">mtl/gauss_packet.cpp</a>
367                </p>
368              </td>
369<td>
370                <p>
371                  The MTL-Gauss-packet example shows how the MTL can be easily used
372                  with odeint.
373                </p>
374              </td>
375</tr>
376<tr>
377<td>
378                <p>
379                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/mtl/implicit_euler_mtl.cpp" target="_top">mtl/implicit_euler_mtl.cpp</a>
380                </p>
381              </td>
382<td>
383                <p>
384                  This examples shows the usage of the MTL implicit Euler method
385                  with a sparse matrix type.
386                </p>
387              </td>
388</tr>
389<tr>
390<td>
391                <p>
392                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/thrust/phase_oscillator_ensemble.cu" target="_top">thrust/phase_oscillator_ensemble.cu</a>
393                </p>
394              </td>
395<td>
396                <p>
397                  The Thrust phase oscillator ensemble example shows how globally
398                  coupled oscillators can be analyzed with Thrust and CUDA, employing
399                  the power of modern graphic devices.
400                </p>
401              </td>
402</tr>
403<tr>
404<td>
405                <p>
406                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/thrust/phase_oscillator_chain.cu" target="_top">thrust/phase_oscillator_chain.cu</a>
407                </p>
408              </td>
409<td>
410                <p>
411                  The Thrust phase oscillator chain example shows how chains of nearest
412                  neighbor coupled oscillators can be integrated with Thrust and
413                  odeint.
414                </p>
415              </td>
416</tr>
417<tr>
418<td>
419                <p>
420                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/thrust/lorenz_parameters.cu" target="_top">thrust/lorenz_parameters.cu</a>
421                </p>
422              </td>
423<td>
424                <p>
425                  The Lorenz parameters examples show how ensembles of ordinary differential
426                  equations can be solved by means of Thrust to study the dependence
427                  of an ODE on some parameters.
428                </p>
429              </td>
430</tr>
431<tr>
432<td>
433                <p>
434                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/thrust/relaxation.cu" target="_top">thrust/relaxation.cu</a>
435                </p>
436              </td>
437<td>
438                <p>
439                  Another examples for the usage of Thrust.
440                </p>
441              </td>
442</tr>
443<tr>
444<td>
445                <p>
446                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/ublas/lorenz_ublas.cpp" target="_top">ublas/lorenz_ublas.cpp</a>
447                </p>
448              </td>
449<td>
450                <p>
451                  This example shows how the ublas vector types can be used with
452                  odeint.
453                </p>
454              </td>
455</tr>
456<tr>
457<td>
458                <p>
459                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/vexcl/lorenz_ensemble.cpp" target="_top">vexcl/lorenz_ensemble.cpp</a>
460                </p>
461              </td>
462<td>
463                <p>
464                  This example shows how the VexCL - a framework for OpenCL computation
465                  - can be used with odeint.
466                </p>
467              </td>
468</tr>
469<tr>
470<td>
471                <p>
472                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/openmp/lorenz_ensemble_simple.cpp" target="_top">openmp/lorenz_ensemble_simple.cpp</a>
473                </p>
474              </td>
475<td>
476                <p>
477                  OpenMP Lorenz attractor parameter study with continuous data.
478                </p>
479              </td>
480</tr>
481<tr>
482<td>
483                <p>
484                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/openmp/lorenz_ensemble.cpp" target="_top">openmp/lorenz_ensemble.cpp</a>
485                </p>
486              </td>
487<td>
488                <p>
489                  OpenMP Lorenz attractor parameter study with split data.
490                </p>
491              </td>
492</tr>
493<tr>
494<td>
495                <p>
496                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/openmp/lorenz_ensemble.cpp" target="_top">openmp/lorenz_ensemble_nested.cpp</a>
497                </p>
498              </td>
499<td>
500                <p>
501                  OpenMP Lorenz attractor parameter study with nested <code class="computeroutput"><span class="identifier">vector_space_algebra</span></code>.
502                </p>
503              </td>
504</tr>
505<tr>
506<td>
507                <p>
508                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/openmp/phase_chain.cpp" target="_top">openmp/phase_chain.cpp</a>
509                </p>
510              </td>
511<td>
512                <p>
513                  OpenMP nearest neighbour coupled phase chain with continuous state.
514                </p>
515              </td>
516</tr>
517<tr>
518<td>
519                <p>
520                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/openmp/phase_chain_omp_state.cpp" target="_top">openmp/phase_chain_omp_state.cpp</a>
521                </p>
522              </td>
523<td>
524                <p>
525                  OpenMP nearest neighbour coupled phase chain with split state.
526                </p>
527              </td>
528</tr>
529<tr>
530<td>
531                <p>
532                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/mpi/phase_chain.cpp" target="_top">mpi/phase_chain.cpp</a>
533                </p>
534              </td>
535<td>
536                <p>
537                  MPI nearest neighbour coupled phase chain.
538                </p>
539              </td>
540</tr>
541<tr>
542<td>
543                <p>
544                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/2d_lattice/spreading.cpp" target="_top">2d_lattice/spreading.cpp</a>
545                </p>
546              </td>
547<td>
548                <p>
549                  This examples shows how a <code class="computeroutput"><span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">vector</span><span class="special">&lt;</span> <span class="identifier">T</span>
550                  <span class="special">&gt;</span> <span class="special">&gt;</span></code>
551                  can be used a state type for odeint and how a resizing mechanism
552                  of this state can be implemented.
553                </p>
554              </td>
555</tr>
556<tr>
557<td>
558                <p>
559                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/quadmath/black_hole.cpp" target="_top">quadmath/black_hole.cpp</a>
560                </p>
561              </td>
562<td>
563                <p>
564                  This examples shows how gcc libquadmath can be used with odeint.
565                  It provides a high precision floating point type which is adapted
566                  to odeint in this example.
567                </p>
568              </td>
569</tr>
570<tr>
571<td>
572                <p>
573                  <a href="https://github.com/headmyshoulder/odeint-v2/blob/master/examples/molecular_dynamics.cpp" target="_top">molecular_dynamics.cpp</a>
574                </p>
575              </td>
576<td>
577                <p>
578                  A very basic molecular dynamics simulation with the Velocity-Verlet
579                  method.
580                </p>
581              </td>
582</tr>
583</tbody>
584</table></div>
585</div>
586<br class="table-break">
587</div>
588<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
589<td align="left"></td>
590<td align="right"><div class="copyright-footer">Copyright © 2009-2015 Karsten Ahnert and Mario Mulansky<p>
591        Distributed under the Boost Software License, Version 1.0. (See accompanying
592        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
593      </p>
594</div></td>
595</tr></table>
596<hr>
597<div class="spirit-nav">
598<a accesskey="p" href="parallel_computation_with_openmp_and_mpi.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tutorial.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../odeint_in_detail.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
599</div>
600</body>
601</html>
602