source: XIOS/dev/branch_openmp/extern/ep_dev/ep_type.cpp @ 1532

Last change on this file since 1532 was 1527, checked in by yushan, 6 years ago

save dev

File size: 614 bytes
RevLine 
[1381]1#include "ep_lib.hpp"
2#include <mpi.h>
3#include "ep_declaration.hpp"
4#include <iostream>
5#include <fstream>
6#include "ep_mpi.hpp"
7
8using namespace std;
9
10
11namespace ep_lib
12{ 
[1517]13  ep_comm::ep_comm(void* comm)
[1381]14  {
[1517]15    is_ep = false;
16    is_intercomm = false;
17    mpi_comm = static_cast< ::MPI_Comm*>(comm);
[1381]18  }
19
[1517]20  ep_info::ep_info(void* info)
[1381]21  {
[1517]22    mpi_info = static_cast< ::MPI_Info*>(info);
[1381]23  }
24
[1500]25  ep_request::ep_request(void* request)
[1381]26  {
[1517]27    mpi_request = static_cast< ::MPI_Request*>(request);
[1381]28  }
29 
[1500]30  ep_status::ep_status(void* status)
31  {
[1517]32    mpi_status = static_cast< ::MPI_Status*>(status);
[1500]33  }
[1517]34
[1381]35}
36
37
38
39
40
41
42
43
44
Note: See TracBrowser for help on using the repository browser.