Salome HOME
Moving implementation of functions containing calls to deprecated abn/gauthier
authorabn <adrien.bruneton@cea.fr>
Thu, 13 Nov 2014 10:41:25 +0000 (11:41 +0100)
committerabn <adrien.bruneton@cea.fr>
Thu, 13 Nov 2014 10:41:25 +0000 (11:41 +0100)
MPI_Type_Extent to the cxx file.

src/ParaMEDMEM/MPIAccess.cxx
src/ParaMEDMEM/MPIAccess.hxx

index e0a9ea576e8a3eda05da8541aa0122d753368869..e4235a19a3429082800e0b43817f4a245cc7a94a 100644 (file)
@@ -1033,6 +1033,30 @@ namespace ParaMEDMEM
       }
   }
 
+  // Returns the MPI size of a TimeMessage
+  MPI_Aint MPIAccess::timeExtent() const
+  {
+    MPI_Aint aextent ;
+    MPI_Type_extent( _MPI_TIME , &aextent ) ;
+    return aextent ;
+  }
+
+  // Returns the MPI size of a MPI_INT
+  MPI_Aint MPIAccess::intExtent() const
+  {
+    MPI_Aint aextent ;
+    MPI_Type_extent( MPI_INT , &aextent ) ;
+    return aextent ;
+  }
+
+  // Returns the MPI size of a MPI_DOUBLE
+  MPI_Aint MPIAccess::doubleExtent() const
+  {
+    MPI_Aint aextent ;
+    MPI_Type_extent( MPI_DOUBLE , &aextent ) ;
+    return aextent ;
+  }
+
   // Outputs fields of a TimeMessage structure
   ostream & operator<< (ostream & f ,const TimeMessage & aTimeMsg )
   {
index b229c125e92fbfc157230dd259765e161bd854b3..f9ee38fd3c60974df5d2f07688cf5aa5c87b7a07 100644 (file)
@@ -259,30 +259,6 @@ namespace ParaMEDMEM
     return ((aMPITag%MODULO_TAG) == _message_time) ;
   }
 
-  // Returns the MPI size of a TimeMessage
-  inline MPI_Aint MPIAccess::timeExtent() const
-  {
-    MPI_Aint aextent ;
-    MPI_Type_extent( _MPI_TIME , &aextent ) ;
-    return aextent ;
-  }
-
-  // Returns the MPI size of a MPI_INT
-  inline MPI_Aint MPIAccess::intExtent() const
-  {
-    MPI_Aint aextent ;
-    MPI_Type_extent( MPI_INT , &aextent ) ;
-    return aextent ;
-  }
-
-  // Returns the MPI size of a MPI_DOUBLE
-  inline MPI_Aint MPIAccess::doubleExtent() const
-  {
-    MPI_Aint aextent ;
-    MPI_Type_extent( MPI_DOUBLE , &aextent ) ;
-    return aextent ;
-  }
-
   // Returns the MPI size of the MPI_Datatype datatype
   inline MPI_Aint MPIAccess::extent( MPI_Datatype adatatype ) const
   {