-// 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 :
~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) ;
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,
void addGroup (const GROUP & Group)
throw (MEDEXCEPTION) ;
};
+};
#endif /* MESHING_HXX */