The Conley-Morse Graphs Software
m_lorenz.h
Go to the documentation of this file.
1/////////////////////////////////////////////////////////////////////////////
2///
3/// @file m_lorenz.h
4///
5/// The time-t map for the Lorenz equations.
6/// This map defines a sample time-t map for an ODE.
7///
8/// @author Pawel Pilarczyk
9///
10/////////////////////////////////////////////////////////////////////////////
11
12// Copyright (C) 1997-2014 by Pawel Pilarczyk.
13//
14// This file is part of my research software package. This is free software:
15// you can redistribute it and/or modify it under the terms of the GNU
16// General Public License as published by the Free Software Foundation,
17// either version 3 of the License, or (at your option) any later version.
18//
19// This software is distributed in the hope that it will be useful,
20// but WITHOUT ANY WARRANTY; without even the implied warranty of
21// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22// GNU General Public License for more details.
23//
24// You should have received a copy of the GNU General Public License
25// along with this software; see the file "license.txt". If not,
26// please, see <https://www.gnu.org/licenses/>.
27
28// Started on June 26, 2012. Last revision: June 26, 2012.
29
30
31#ifndef _CMGRAPHS_LORENZ_H_
32#define _CMGRAPHS_LORENZ_H_
33
34
35// include local header files
36#include "maptype.h"
37#include "odetimet.h"
38
39
40// --------------------------------------------------
41// ------------- the Lorenz time-t map --------------
42// --------------------------------------------------
43
44/// This class defines the time-t map for the Lorenz equations.
46{
47public:
48 /// The constructor of a Lorenz map object.
49 MapLorenz ();
50
51 /// Returns the name of the map.
52 std::string name () const;
53
54}; /* class MapLorenz */
55
56// --------------------------------------------------
57
59#ifdef _CAPD29_
60 "var:x,y,z,pa,pb,pc;"
61#else
62 "par:pa,pb,pc;var:x,y,z;"
63#endif
64 "fun:pa*(y-x),(x*(pb-z))-y,(x*y)-(pc*z);",
65 2, static_cast<double> (0.05) / 10, 10)
66{
67 return;
68} /* MapLorenz::MapLorenz */
69
70inline std::string MapLorenz::name () const
71{
72 return std::string ("lorenz");
73} /* MapLorenz::name */
74
75
76#endif // _CMGRAPHS_LORENZ_H_
77
This class defines the time-t map for the Lorenz equations.
Definition: m_lorenz.h:46
std::string name() const
Returns the name of the map.
Definition: m_lorenz.h:70
MapLorenz()
The constructor of a Lorenz map object.
Definition: m_lorenz.h:58
This class defines a map for the nonlinear density dependent overcompensatory Leslie population model...
Definition: odetimet.h:82
An abstract map type.
A generic method for computing a time-t map for ODEs.