summaryrefslogtreecommitdiff
path: root/libs/numeric/odeint/performance/lorenz_gsl.hpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-04-08 03:09:47 +0000
committer <>2015-05-05 14:37:32 +0000
commitf2541bb90af059680aa7036f315f052175999355 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /libs/numeric/odeint/performance/lorenz_gsl.hpp
parented232fdd34968697a68783b3195b1da4226915b5 (diff)
downloadboost-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/numeric/odeint/performance/lorenz_gsl.hpp')
-rw-r--r--libs/numeric/odeint/performance/lorenz_gsl.hpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/libs/numeric/odeint/performance/lorenz_gsl.hpp b/libs/numeric/odeint/performance/lorenz_gsl.hpp
deleted file mode 100644
index a907aed87..000000000
--- a/libs/numeric/odeint/performance/lorenz_gsl.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * lorenz_gsl.hpp
- *
- * Copyright 2011 Mario Mulansky
- * Copyright 2012 Karsten Ahnert
- *
- * Distributed under the Boost Software License, Version 1.0.
- * (See accompanying file LICENSE_1_0.txt or
- * copy at http://www.boost.org/LICENSE_1_0.txt)
- */
-
-
-#ifndef LORENZ_GSL_HPP_
-#define LORENZ_GSL_HPP_
-
-#include <gsl/gsl_matrix.h>
-
-int lorenz_gsl( const double t , const double y[] , double f[] , void *params)
-{
- const double sigma = 10.0;
- const double R = 28.0;
- const double b = 8.0 / 3.0;
-
- f[0] = sigma * ( y[1] - y[0] );
- f[1] = R * y[0] - y[1] - y[0] * y[2];
- f[2] = y[0]*y[1] - b * y[2];
- return GSL_SUCCESS;
-}
-
-#endif