1 // Copyright (C) 2007-2013 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
24 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 setCoordinates (const int SpaceDimension,
48 const int NumberOfNodes,
49 const double * Coordinates,
51 const MED_EN::medModeSwitch Mode) ;
52 void setCoordinatesNames (const string * names) ;
53 void setCoordinateName (const string name, const int i) ;
54 void setCoordinatesUnits (const string * units) ;
55 void setCoordinateUnit (const string unit, const int i) ;
57 void setNumberOfTypes (const int NumberOfTypes,
58 const MED_EN::medEntityMesh Entity) throw (MEDEXCEPTION) ;
60 void setTypes (const MED_EN::medGeometryElement * Types,
61 const MED_EN::medEntityMesh Entity) throw (MEDEXCEPTION) ;
63 void setNumberOfElements (const int * NumberOfElements,
64 const MED_EN::medEntityMesh Entity) throw (MEDEXCEPTION) ;
66 void setConnectivity (const MED_EN::medEntityMesh Entity,
67 const MED_EN::medGeometryElement Type,
68 const int * Connectivity,
69 const int * PolyConnectivityIndex=0) throw (MEDEXCEPTION) ;
71 void addGroup (const GROUP & Group) throw (MEDEXCEPTION) ;
75 #endif /* MESHING_HXX */