• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //==============================================================================
2 //         Copyright 2014          LASMEA UMR 6602 CNRS/Univ. Clermont II
3 //         Copyright 2014          LRI    UMR 8623 CNRS/Univ Paris Sud XI
4 //         Copyright 2014          MetaScale SAS
5 //
6 //          Distributed under the Boost Software License, Version 1.0.
7 //                 See accompanying file LICENSE.txt or copy at
8 //                     http://www.boost.org/LICENSE_1_0.txt
9 //==============================================================================
10 #ifndef BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_COPY_HPP_INCLUDED
11 #define BOOST_NUMERIC_ODEINT_EXTERNAL_NT2_NT2_COPY_HPP_INCLUDED
12 
13 #include <nt2/core/container/table/table.hpp>
14 
15 #include <boost/numeric/odeint/util/copy.hpp>
16 
17 namespace boost { namespace numeric { namespace odeint {
18 
19 template<typename T, typename S>
20 struct copy_impl< nt2::container::table<T,S>
21                 , nt2::container::table<T,S>
22                 >
23 {
copyboost::numeric::odeint::copy_impl24   static void copy ( const nt2::container::table<T,S> &v1
25                    , nt2::container::table<T,S> &v2
26                    )
27   {
28     v2 = v1;
29   }
30 };
31 } } }
32 
33 #endif
34