Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62072 - sandbox/numeric_bindings/boost/numeric/bindings/mumps
From: thomas.klimpel_at_[hidden]
Date: 2010-05-17 17:33:22


Author: klimpel
Date: 2010-05-17 17:33:21 EDT (Mon, 17 May 2010)
New Revision: 62072
URL: http://svn.boost.org/trac/boost/changeset/62072

Log:
replaced "boost::numeric::bindings" qualification by simple "bindings" qualification.
Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_6_4.hpp | 48 ++++++++++++++++++++--------------------
   sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp | 48 ++++++++++++++++++++--------------------
   2 files changed, 48 insertions(+), 48 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_6_4.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_6_4.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_6_4.hpp 2010-05-17 17:33:21 EDT (Mon, 17 May 2010)
@@ -139,12 +139,12 @@
     } ;
   
     template <>
- struct mumps_sym< boost::numeric::bindings::tag::symmetric > {
+ struct mumps_sym< bindings::tag::symmetric > {
       static int const value = 2 ;
     } ;
   
     template <>
- struct mumps_sym< boost::numeric::bindings::tag::general > {
+ struct mumps_sym< bindings::tag::general > {
       static int const value = 0 ;
     } ;
 
@@ -152,15 +152,15 @@
     // Get index pointers
     //
     template <typename M>
- void indices( boost::numeric::bindings::tag::row_major, int*& rows, int*& cols, M const& m ) {
- rows = const_cast<int*>( boost::numeric::bindings::begin_index_major( m ) ) ;
- cols = const_cast<int*>( boost::numeric::bindings::begin_index_minor( m ) ) ;
+ void indices( bindings::tag::row_major, int*& rows, int*& cols, M const& m ) {
+ rows = const_cast<int*>( bindings::begin_index_major( m ) ) ;
+ cols = const_cast<int*>( bindings::begin_index_minor( m ) ) ;
     }
   
     template <typename M>
- void indices( boost::numeric::bindings::tag::column_major, int*& rows, int*& cols, M const& m ) {
- cols = const_cast<int*>( boost::numeric::bindings::begin_index_major( m ) ) ;
- rows = const_cast<int*>( boost::numeric::bindings::begin_index_minor( m ) ) ;
+ void indices( bindings::tag::column_major, int*& rows, int*& cols, M const& m ) {
+ cols = const_cast<int*>( bindings::begin_index_major( m ) ) ;
+ rows = const_cast<int*>( bindings::begin_index_minor( m ) ) ;
     }
   
     // Pointer Cast
@@ -177,10 +177,10 @@
   //
   template <typename M>
   struct mumps
- : detail::mumps_type< typename boost::numeric::bindings::value_type<M>::type >::type
+ : detail::mumps_type< typename bindings::value_type<M>::type >::type
   {
- typedef typename boost::numeric::bindings::value_type<M>::type value_type ;
- typedef typename detail::mumps_type< typename boost::numeric::bindings::value_type<M>::type >::type c_struct_type ;
+ typedef typename bindings::value_type<M>::type value_type ;
+ typedef typename detail::mumps_type< typename bindings::value_type<M>::type >::type c_struct_type ;
 
     //
     // Initialize MUMPS solver
@@ -192,7 +192,7 @@
       this->job = -1 ;
       this->par = par ;
       this->comm_fortran = comm_fortran ;
- this->sym = detail::mumps_sym< typename boost::numeric::bindings::detail::property_at<M, tag::matrix_type >::type >::value ;
+ this->sym = detail::mumps_sym< typename bindings::detail::property_at<M, tag::matrix_type >::type >::value ;
       detail::mumps_call<value_type>() ( *this ) ;
     }
 
@@ -209,15 +209,15 @@
   //
   template <typename M>
   void matrix_integer_data( mumps<M>& data, M& m ) {
- BOOST_STATIC_ASSERT( (1 == boost::numeric::bindings::detail::adaptor_access<M>::index_base) ) ;
- data.n = boost::numeric::bindings::size_row( m ) ;
- assert( boost::numeric::bindings::size_column( m ) == data.n ) ;
+ BOOST_STATIC_ASSERT( (1 == bindings::detail::adaptor_access<M>::index_base) ) ;
+ data.n = bindings::size_row( m ) ;
+ assert( bindings::size_column( m ) == data.n ) ;
 
- data.nz = boost::numeric::bindings::end_value( m ) - boost::numeric::bindings::begin_value( m );
- detail::indices( typename boost::numeric::bindings::detail::property_at< M, tag::data_order >::type(), data.irn, data.jcn, m ) ;
+ data.nz = bindings::end_value( m ) - bindings::begin_value( m );
+ detail::indices( typename bindings::detail::property_at< M, tag::data_order >::type(), data.irn, data.jcn, m ) ;
 
- data.nz_loc = boost::numeric::bindings::end_value( m ) - boost::numeric::bindings::begin_value( m );
- detail::indices( typename boost::numeric::bindings::detail::property_at< M, tag::data_order >::type(), data.irn_loc, data.jcn_loc, m ) ;
+ data.nz_loc = bindings::end_value( m ) - bindings::begin_value( m );
+ detail::indices( typename bindings::detail::property_at< M, tag::data_order >::type(), data.irn_loc, data.jcn_loc, m ) ;
   } // matrix_integer_data()
 
 
@@ -226,8 +226,8 @@
   //
   template <typename M>
   void matrix_value_data( mumps<M>& data, M& m ) {
- data.a = detail::cast_2_mumps( boost::numeric::bindings::begin_value( m ) ) ;
- data.a_loc = detail::cast_2_mumps( boost::numeric::bindings::begin_value( m ) ) ;
+ data.a = detail::cast_2_mumps( bindings::begin_value( m ) ) ;
+ data.a_loc = detail::cast_2_mumps( bindings::begin_value( m ) ) ;
   } // matrix_value_data()
 
 
@@ -237,9 +237,9 @@
   //
   template <typename M, typename X>
   void rhs_sol_value_data( mumps<M>& data, X& x ) {
- data.rhs = detail::cast_2_mumps( boost::numeric::bindings::begin_value( x ) ) ;
- data.nrhs = boost::numeric::bindings::size_column( x ) ;
- data.lrhs = boost::numeric::bindings::stride_major( x ) ;
+ data.rhs = detail::cast_2_mumps( bindings::begin_value( x ) ) ;
+ data.nrhs = bindings::size_column( x ) ;
+ data.lrhs = bindings::stride_major( x ) ;
   } // matrix_rhs_sol_value_data()
 
 

Modified: sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/mumps/mumps_driver_4_8_0.hpp 2010-05-17 17:33:21 EDT (Mon, 17 May 2010)
@@ -139,12 +139,12 @@
     } ;
   
     template <>
- struct mumps_sym< boost::numeric::bindings::tag::symmetric > {
+ struct mumps_sym< bindings::tag::symmetric > {
       static int const value = 2 ;
     } ;
   
     template <>
- struct mumps_sym< boost::numeric::bindings::tag::general > {
+ struct mumps_sym< bindings::tag::general > {
       static int const value = 0 ;
     } ;
 
@@ -152,15 +152,15 @@
     // Get index pointers
     //
     template <typename M>
- void indices( boost::numeric::bindings::tag::row_major, int*& rows, int*& cols, M const& m ) {
- rows = const_cast<int*>( boost::numeric::bindings::begin_index_major( m ) ) ;
- cols = const_cast<int*>( boost::numeric::bindings::begin_index_minor( m ) ) ;
+ void indices( bindings::tag::row_major, int*& rows, int*& cols, M const& m ) {
+ rows = const_cast<int*>( bindings::begin_index_major( m ) ) ;
+ cols = const_cast<int*>( bindings::begin_index_minor( m ) ) ;
     }
   
     template <typename M>
- void indices( boost::numeric::bindings::tag::column_major, int*& rows, int*& cols, M const& m ) {
- cols = const_cast<int*>( boost::numeric::bindings::begin_index_major( m ) ) ;
- rows = const_cast<int*>( boost::numeric::bindings::begin_index_minor( m ) ) ;
+ void indices( bindings::tag::column_major, int*& rows, int*& cols, M const& m ) {
+ cols = const_cast<int*>( bindings::begin_index_major( m ) ) ;
+ rows = const_cast<int*>( bindings::begin_index_minor( m ) ) ;
     }
   
     // Pointer Cast
@@ -177,11 +177,11 @@
   //
   template <typename M>
   class mumps
- : public detail::mumps_type< typename boost::numeric::bindings::value_type<M>::type >::type
+ : public detail::mumps_type< typename bindings::value_type<M>::type >::type
   {
     public:
- typedef typename boost::numeric::bindings::value_type<M>::type value_type ;
- typedef typename detail::mumps_type< typename boost::numeric::bindings::value_type<M>::type >::type c_struct_type ;
+ typedef typename bindings::value_type<M>::type value_type ;
+ typedef typename detail::mumps_type< typename bindings::value_type<M>::type >::type c_struct_type ;
 
       //
       // Initialize MUMPS solver
@@ -193,7 +193,7 @@
         this->job = -1 ;
         this->par = par ;
         this->comm_fortran = comm_fortran ;
- this->sym = detail::mumps_sym< typename boost::numeric::bindings::detail::property_at<M, tag::matrix_type >::type >::value ;
+ this->sym = detail::mumps_sym< typename bindings::detail::property_at<M, tag::matrix_type >::type >::value ;
         detail::mumps_call<value_type>() ( *this ) ;
       }
 
@@ -216,15 +216,15 @@
   //
   template <typename M>
   void matrix_integer_data( mumps<M>& data, M& m ) {
- BOOST_STATIC_ASSERT( (1 == boost::numeric::bindings::detail::adaptor_access<M>::index_base) ) ;
- data.n = boost::numeric::bindings::size_row( m ) ;
- assert( boost::numeric::bindings::size_column( m ) == data.n ) ;
+ BOOST_STATIC_ASSERT( (1 == bindings::detail::adaptor_access<M>::index_base) ) ;
+ data.n = bindings::size_row( m ) ;
+ assert( bindings::size_column( m ) == data.n ) ;
 
- data.nz = boost::numeric::bindings::end_value( m ) - boost::numeric::bindings::begin_value( m ) ;
- detail::indices( typename boost::numeric::bindings::detail::property_at< M, tag::data_order >::type(), data.irn, data.jcn, m ) ;
+ data.nz = bindings::end_value( m ) - bindings::begin_value( m ) ;
+ detail::indices( typename bindings::detail::property_at< M, tag::data_order >::type(), data.irn, data.jcn, m ) ;
 
- data.nz_loc = boost::numeric::bindings::end_value( m ) - boost::numeric::bindings::begin_value( m ) ;
- detail::indices( typename boost::numeric::bindings::detail::property_at< M, tag::data_order >::type(), data.irn_loc, data.jcn_loc, m ) ;
+ data.nz_loc = bindings::end_value( m ) - bindings::begin_value( m ) ;
+ detail::indices( typename bindings::detail::property_at< M, tag::data_order >::type(), data.irn_loc, data.jcn_loc, m ) ;
   } // matrix_integer_data()
 
 
@@ -233,8 +233,8 @@
   //
   template <typename M>
   void matrix_value_data( mumps<M>& data, M& m ) {
- data.a = detail::cast_2_mumps( boost::numeric::bindings::begin_value( m ) ) ;
- data.a_loc = detail::cast_2_mumps( boost::numeric::bindings::begin_value( m ) ) ;
+ data.a = detail::cast_2_mumps( bindings::begin_value( m ) ) ;
+ data.a_loc = detail::cast_2_mumps( bindings::begin_value( m ) ) ;
   } // matrix_value_data()
 
 
@@ -244,9 +244,9 @@
   //
   template <typename M, typename X>
   void rhs_sol_value_data( mumps<M>& data, X& x ) {
- data.rhs = detail::cast_2_mumps( boost::numeric::bindings::begin_value( x ) ) ;
- data.nrhs = boost::numeric::bindings::size_column( x ) ;
- data.lrhs = boost::numeric::bindings::stride_major( x ) ;
+ data.rhs = detail::cast_2_mumps( bindings::begin_value( x ) ) ;
+ data.nrhs = bindings::size_column( x ) ;
+ data.lrhs = bindings::stride_major( x ) ;
   } // matrix_rhs_sol_value_data()
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk