annotate DEPENDENCIES/generic/include/boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 /*
Chris@16 2 [auto_generated]
Chris@16 3 boost/numeric/odeint/stepper/generation/generation_rosenbrock4.hpp
Chris@16 4
Chris@16 5 [begin_description]
Chris@16 6 Enable the factory functions for the controller and the dense output of the Rosenbrock4 method.
Chris@16 7 [end_description]
Chris@16 8
Chris@101 9 Copyright 2011-2012 Karsten Ahnert
Chris@101 10 Copyright 2011-2012 Mario Mulansky
Chris@16 11
Chris@16 12 Distributed under the Boost Software License, Version 1.0.
Chris@16 13 (See accompanying file LICENSE_1_0.txt or
Chris@16 14 copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 15 */
Chris@16 16
Chris@16 17
Chris@16 18 #ifndef BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_ROSENBROCK4_HPP_INCLUDED
Chris@16 19 #define BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_ROSENBROCK4_HPP_INCLUDED
Chris@16 20
Chris@16 21 #include <boost/numeric/odeint/stepper/rosenbrock4.hpp>
Chris@16 22 #include <boost/numeric/odeint/stepper/rosenbrock4_controller.hpp>
Chris@16 23 #include <boost/numeric/odeint/stepper/rosenbrock4_dense_output.hpp>
Chris@16 24
Chris@16 25
Chris@16 26 namespace boost {
Chris@16 27 namespace numeric {
Chris@16 28 namespace odeint {
Chris@16 29
Chris@16 30
Chris@16 31 template< class Value , class Coefficients , class Resize >
Chris@16 32 struct get_controller< rosenbrock4< Value , Coefficients , Resize > >
Chris@16 33 {
Chris@16 34 typedef rosenbrock4< Value , Coefficients , Resize > stepper_type;
Chris@16 35 typedef rosenbrock4_controller< stepper_type > type;
Chris@16 36 };
Chris@16 37
Chris@16 38
Chris@16 39
Chris@16 40 template< class Value , class Coefficients , class Resize >
Chris@16 41 struct get_dense_output< rosenbrock4< Value , Coefficients , Resize > >
Chris@16 42 {
Chris@16 43 typedef rosenbrock4< Value , Coefficients , Resize > stepper_type;
Chris@16 44 typedef rosenbrock4_controller< stepper_type > controller_type;
Chris@16 45 typedef rosenbrock4_dense_output< controller_type > type;
Chris@16 46 };
Chris@16 47
Chris@16 48
Chris@16 49
Chris@16 50 // controller factory for controlled_runge_kutta
Chris@16 51 template< class Stepper >
Chris@16 52 struct dense_output_factory< Stepper , rosenbrock4_dense_output< rosenbrock4_controller< Stepper > > >
Chris@16 53 {
Chris@16 54 typedef Stepper stepper_type;
Chris@16 55 typedef rosenbrock4_controller< stepper_type > controller_type;
Chris@16 56 typedef typename stepper_type::value_type value_type;
Chris@16 57 typedef rosenbrock4_dense_output< controller_type > dense_output_type;
Chris@16 58
Chris@16 59 dense_output_type operator()( value_type abs_error , value_type rel_error , const stepper_type &stepper )
Chris@16 60 {
Chris@16 61 return dense_output_type( controller_type( abs_error , rel_error , stepper ) );
Chris@16 62 }
Chris@16 63 };
Chris@16 64
Chris@16 65
Chris@16 66
Chris@16 67 } // odeint
Chris@16 68 } // numeric
Chris@16 69 } // boost
Chris@16 70
Chris@16 71
Chris@16 72 #endif // BOOST_NUMERIC_ODEINT_STEPPER_GENERATION_GENERATION_ROSENBROCK4_HPP_INCLUDED