Salome HOME
Trying to compile with option -DMEDCOUPLING_USE_64BIT_IDS=ON on medCoupling-master
[tools/solverlab.git] / CDMATH / mesh / inc / Mesh.hxx
index a3f8a285d66d79c96ce1d98ffd27364f9fcd12c3..4c524ef98de490415c97ffb86fbf783825f5c2dd 100644 (file)
@@ -25,7 +25,7 @@ class MEDFileUMesh;
 class MEDCouplingMesh;
 class MEDCouplingIMesh;
 class MEDCouplingUMesh;
-class DataArrayInt32;
+class DataArrayInt64;
 }
 namespace ParaMEDMEM
 {
@@ -237,7 +237,11 @@ public: //----------------------------------------------------------------
 
        std::vector<double> getDXYZ() const ;// for structured meshes
 
+#ifdef MEDCoupling_VERSION_VERSION_GREATER_9_4
+       std::vector<long int> getCellGridStructure() const;// for structured meshes
+#else
        std::vector<int> getCellGridStructure() const;// for structured meshes
+#endif
 
        /**
         * \brief surcharge operator =
@@ -278,7 +282,7 @@ public: //----------------------------------------------------------------
         * \brief return the list of node groups
         * @return _nodeGroups
         */
-       std::vector<MEDCoupling::DataArrayInt32 *> getNodeGroups( void )  const ;
+       std::vector<MEDCoupling::DataArrayInt64 *> getNodeGroups( void )  const ;
 
     /*
      * Functions to extract boundary nodes and faces Ids
@@ -387,7 +391,11 @@ private: //----------------------------------------------------------------
 
        double _zMax;
 
+#ifdef MEDCoupling_VERSION_VERSION_GREATER_9_4
+       std::vector<long int> _nxyz;
+#else
        std::vector<int> _nxyz;
+#endif
 
        std::vector<double> _dxyz;
        /*
@@ -442,7 +450,7 @@ private: //----------------------------------------------------------------
        /*
         * The list of node groups.
         */
-       std::vector<MEDCoupling::DataArrayInt32 *> _nodeGroups;
+       std::vector<MEDCoupling::DataArrayInt64 *> _nodeGroups;
        /*
         * The mesh MEDCoupling
         */