Salome HOME
adding some castem mesh file to test the GIBI driver of Med Memory.
[modules/med.git] / src / MEDMEM / MEDMEM_Meshing.hxx
1 /*
2   File MEDMEM_Meshing.hxx
3   $Header$
4 */
5
6 #ifndef MESHING_HXX
7 #define MESHING_HXX
8
9 #include "MEDMEM_Mesh.hxx"
10
11 using namespace MED_EN;
12
13 /*!
14   This class MESHING is a special class to set a MESH object.
15 */
16
17 class MESHING: public MESH
18 {
19 public :
20   MESHING();
21   ~MESHING();
22
23   void setSpaceDimension   (const int SpaceDimension) ;
24   //void setMeshDimension    (const int MeshDimension) ;
25   void setNumberOfNodes    (const int NumberOfNodes) ;
26   void setCoordinates      (const int SpaceDimension,
27                             const int NumberOfNodes,
28                             const double * Coordinates,
29                             const string System,
30                             const medModeSwitch Mode) ;
31   void setCoordinatesSystem(const string System)
32     throw (MEDEXCEPTION) ;
33   void setCoordinatesNames (const string * names) ;
34   void setCoordinateName (const string name, const int i) ;
35   void setCoordinatesUnits (const string * units) ;
36   void setCoordinateUnit (const string unit, const int i) ;
37
38   void setNumberOfTypes    (const int NumberOfTypes,
39                             const medEntityMesh Entity) 
40     throw (MEDEXCEPTION) ;
41   void setTypes            (const medGeometryElement * Types,
42                             const medEntityMesh Entity)
43     throw (MEDEXCEPTION) ;
44   void setNumberOfElements (const int * NumberOfElements,
45                             const medEntityMesh Entity)
46     throw (MEDEXCEPTION) ;
47   void setConnectivity     (const int * Connectivity,
48                             const medEntityMesh Entity,
49                             const medGeometryElement Type)
50     throw (MEDEXCEPTION) ;
51
52   void setConnectivities   (const int * ConnectivityIndex,
53                             const int * ConnectivityValue,
54                             const medConnectivity ConnectivityType,
55                             const medEntityMesh Entity)
56     throw (MEDEXCEPTION) ;
57
58 //   void setGroup            (const string name,
59 //                          const string description,
60 //                          const int NumberOfElements,
61 //                          const int * ElementsNumbers,
62 //                          const medEntityMesh Entity) ;
63   void addGroup            (const GROUP & Group)
64     throw (MEDEXCEPTION) ;
65 };
66
67 #endif /* MESHING_HXX */