Salome HOME
MEDCoupling API renaming - stage #2
[tools/medcoupling.git] / src / ParaMEDMEM / MPIAccess.hxx
index f9ee38fd3c60974df5d2f07688cf5aa5c87b7a07..039925d807b50498e459d7c46e7f9dc9a994acd7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -29,7 +29,7 @@
 #include <vector>
 #include <iostream>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   typedef struct
   {
@@ -322,7 +322,7 @@ namespace ParaMEDMEM
     struct RequestStruct *aRequestStruct = _map_of_request_struct[ RequestId ] ;
     if ( aRequestStruct )
       return aRequestStruct->MPIDatatype;
-    return (MPI_Datatype ) NULL ;
+    return MPI_DATATYPE_NULL;
   }
 
   // Returns the size of the receiving message of the request corresponding to