Salome HOME
remove a reference to the $MED_ROOT_DIR in the Makefile.in wich is useless
[modules/med.git] / src / MEDMEM / MEDMEM_Meshing.hxx
index 0b1b955f8949f8f4de95d05091b56503147143e4..52e4d1c3738fabf6f061d2e74c446487c2568ec9 100644 (file)
@@ -1,12 +1,3 @@
-//  MED MEDMEM : MED files in memory
-//
-//  Copyright (C) 2003  CEA/DEN, EDF R&D
-//
-//
-//
-//  File   : MEDMEM_Meshing.hxx
-//  Module : MED
-
 /*
   File MEDMEM_Meshing.hxx
   $Header$
 
 #include "MEDMEM_Mesh.hxx"
 
-using namespace MED_EN;
-
 /*!
   This class MESHING is a special class to set a MESH object.
 */
 
+namespace MEDMEM {
 class MESHING: public MESH
 {
 public :
@@ -30,13 +20,13 @@ public :
   ~MESHING();
 
   void setSpaceDimension   (const int SpaceDimension) ;
-  //void setMeshDimension    (const int MeshDimension) ;
+  void setMeshDimension    (const int MeshDimension) ;
   void setNumberOfNodes    (const int NumberOfNodes) ;
   void setCoordinates      (const int SpaceDimension,
                            const int NumberOfNodes,
                            const double * Coordinates,
                            const string System,
-                           const medModeSwitch Mode) ;
+                           const MED_EN::medModeSwitch Mode) ;
   void setCoordinatesSystem(const string System)
     throw (MEDEXCEPTION) ;
   void setCoordinatesNames (const string * names) ;
@@ -45,23 +35,36 @@ public :
   void setCoordinateUnit (const string unit, const int i) ;
 
   void setNumberOfTypes    (const int NumberOfTypes,
-                           const medEntityMesh Entity) 
+                           const MED_EN::medEntityMesh Entity) 
     throw (MEDEXCEPTION) ;
-  void setTypes            (const medGeometryElement * Types,
-                           const medEntityMesh Entity)
+  void setTypes            (const MED_EN::medGeometryElement * Types,
+                           const MED_EN::medEntityMesh Entity)
     throw (MEDEXCEPTION) ;
   void setNumberOfElements (const int * NumberOfElements,
-                           const medEntityMesh Entity)
+                           const MED_EN::medEntityMesh Entity)
     throw (MEDEXCEPTION) ;
   void setConnectivity     (const int * Connectivity,
-                           const medEntityMesh Entity,
-                           const medGeometryElement Type)
+                           const MED_EN::medEntityMesh Entity,
+                           const MED_EN::medGeometryElement Type)
+    throw (MEDEXCEPTION) ;
+  
+  void setPolygonsConnectivity     (const int * ConnectivityIndex,
+                                   const int * ConnectivityValue,
+                                   int nbOfPolygons,
+                                   const MED_EN::medEntityMesh Entity)
+    throw (MEDEXCEPTION) ;
+
+  void setPolyhedraConnectivity     (const int * PolyhedronIndex,
+                                    const int * FacesIndex,
+                                    const int * Nodes,
+                                    int nbOfPolyhedra,
+                                    const MED_EN::medEntityMesh Entity)
     throw (MEDEXCEPTION) ;
 
   void setConnectivities   (const int * ConnectivityIndex,
                            const int * ConnectivityValue,
-                           const medConnectivity ConnectivityType,
-                           const medEntityMesh Entity)
+                           const MED_EN::medConnectivity ConnectivityType,
+                           const MED_EN::medEntityMesh Entity)
     throw (MEDEXCEPTION) ;
 
 //   void setGroup            (const string name,
@@ -72,5 +75,6 @@ public :
   void addGroup            (const GROUP & Group)
     throw (MEDEXCEPTION) ;
 };
+};
 
 #endif /* MESHING_HXX */