1 // Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 File MEDMEM_Meshing.hxx
32 #include "MEDMEM_Mesh.hxx"
38 This class MESHING is a special class to set a MESH object.
41 class MEDMEM_EXPORT MESHING: public MESH
47 void setSpaceDimension (const int SpaceDimension) ;
48 void setMeshDimension (const int MeshDimension) ;
49 void setNumberOfNodes (const int NumberOfNodes) ;
50 void setCoordinates (const int SpaceDimension,
51 const int NumberOfNodes,
52 const double * Coordinates,
54 const MED_EN::medModeSwitch Mode) ;
55 void setCoordinatesSystem(const string& System)
56 throw (MEDEXCEPTION) ;
57 void setCoordinatesNames (const string * names) ;
58 void setCoordinateName (const string name, const int i) ;
59 void setCoordinatesUnits (const string * units) ;
60 void setCoordinateUnit (const string unit, const int i) ;
62 void setNumberOfTypes (const int NumberOfTypes,
63 const MED_EN::medEntityMesh Entity)
64 throw (MEDEXCEPTION) ;
65 void setTypes (const MED_EN::medGeometryElement * Types,
66 const MED_EN::medEntityMesh Entity)
67 throw (MEDEXCEPTION) ;
68 void setNumberOfElements (const int * NumberOfElements,
69 const MED_EN::medEntityMesh Entity)
70 throw (MEDEXCEPTION) ;
71 void setConnectivity (const int * Connectivity,
72 const MED_EN::medEntityMesh Entity,
73 const MED_EN::medGeometryElement Type)
74 throw (MEDEXCEPTION) ;
76 void setPolygonsConnectivity (const int * ConnectivityIndex,
77 const int * ConnectivityValue,
79 const MED_EN::medEntityMesh Entity)
80 throw (MEDEXCEPTION) ;
82 void setPolyhedraConnectivity (const int * PolyhedronIndex,
83 const int * FacesIndex,
86 const MED_EN::medEntityMesh Entity)
87 throw (MEDEXCEPTION) ;
89 void setConnectivities (const int * ConnectivityIndex,
90 const int * ConnectivityValue,
91 const MED_EN::medConnectivity ConnectivityType,
92 const MED_EN::medEntityMesh Entity)
93 throw (MEDEXCEPTION) ;
95 // void setGroup (const string name,
96 // const string description,
97 // const int NumberOfElements,
98 // const int * ElementsNumbers,
99 // const medEntityMesh Entity) ;
100 void addGroup (const GROUP & Group)
101 throw (MEDEXCEPTION) ;
105 #endif /* MESHING_HXX */