Ignore:
Timestamp:
12/13/17 14:42:26 (4 years ago)
Author:
yushan
Message:

unify type : MPI_Request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/src_ep_dev/ep_type.cpp

    r1369 r1373  
    6767  } 
    6868   
     69  MPI_Request::MPI_Request(int* request) 
     70  { 
     71    //mpi_request = request; 
     72    mpi_request = new int; 
     73    *mpi_request = *request; 
     74  } 
     75   
    6976//  MPI_Request::MPI_Request(void* request) 
    7077//  { 
    71 //    mpi_request = new ::MPI_Request; 
    72 //    *(static_cast< ::MPI_Request*>(mpi_request)) = *(static_cast< ::MPI_Request*>(request)); 
     78//    //mpi_request = request; 
     79//    mpi_request = new int; 
     80//    static_cast< ::MPI_Request>(*mpi_request) = *(static_cast< ::MPI_Request*>(request); 
    7381//  } 
     82   
     83  MPI_Request::MPI_Request() 
     84  { 
     85    //mpi_request = request; 
     86    mpi_request = new int; 
     87    //*(static_cast< ::MPI_Request*>(mpi_request)) = *(static_cast< ::MPI_Request*>(request)); 
     88  } 
     89   
    7490  MPI_Aint::MPI_Aint(void* aint) 
    7591  { 
Note: See TracChangeset for help on using the changeset viewer.