コード例 #1
0
pop_mpi_connection::pop_mpi_connection(pop_mpi_connection& me)
    : pop_connection(me.GetCombox(), me.GetBufferFactory()),
      _is_connected(false),
      _has_communicator(false),
      _connection_index(0),
      _is_asynchronous(false),
      _tag_set(false) {
    set_communicator(me.get_communicator());
    set_connection_index(me.get_connection_index());
}
コード例 #2
0
ファイル: ParallelHelper.hpp プロジェクト: 00liujj/trilinos
 void set_communicator(const void* comm) 
   { set_communicator( reinterpret_cast<size_t>(comm) ); }