예제 #1
0
 void save_array(serialization::array<T> const& x, unsigned int /* file_version */)
 {
 
   BOOST_MPL_ASSERT((serialization::is_bitwise_serializable<BOOST_DEDUCED_TYPENAME remove_const<T>::type>));
   if (x.count())
     save_impl(x.address(), x.count()*sizeof(T));
 }
예제 #2
0
 void load_array(serialization::array<T> const& x, unsigned int /* file_version */)
 {
   if (x.count())
     load_impl(x.address(), get_mpi_datatype(*x.address()), x.count());
 }
예제 #3
0
 void save_array(serialization::array<T> const& x, unsigned int /* version */)
 {
   if (x.count())
     save_impl(x.address(), boost::mpi::get_mpi_datatype(*x.address()), x.count());
 }