Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _CONNECTIVITY_CLIENT_HXX
00024 #define _CONNECTIVITY_CLIENT_HXX
00025
00026 #include <SALOMEconfig.h>
00027 #include "MEDMEM_Connectivity.hxx"
00028 #include CORBA_CLIENT_HEADER(MED)
00029
00030 namespace MEDMEM {
00031 class CONNECTIVITYClient : public CONNECTIVITY {
00032
00033 protected:
00034
00035 long *_numberOfElements_client;
00036 long _totalNumberOfElements_client;
00037
00038 mutable bool _complete;
00039 SALOME_MED::MESH_var IOR_Mesh ;
00040
00041 public:
00042
00043 CONNECTIVITYClient(const SALOME_MED::MESH_ptr m,
00044 medEntityMesh Entity=MED_CELL);
00045
00046 virtual ~CONNECTIVITYClient();
00047
00048 void fillCopy();
00049 void blankCopy();
00050
00051 int getNumberOf(medEntityMesh Entity, medGeometryElement Type) const;
00052
00053 const int * getConnectivity (medConnectivity ConnectivityType,
00054 medEntityMesh Entity,
00055 medGeometryElement Type) const;
00056 int getConnectivityLength(MED_EN::medConnectivity ConnectivityType,
00057 MED_EN::medEntityMesh Entity,
00058 MED_EN::medGeometryElement Type) const;
00059 const int * getConnectivityIndex (medConnectivity ConnectivityType,
00060 medEntityMesh Entity) const;
00061
00062 void calculateConnectivity (medConnectivity connectivityType,
00063 medEntityMesh Entity);
00064
00065 void updateFamily (vector<FAMILY*> myFamilies);
00066
00067 const int * getGlobalNumberingIndex (medEntityMesh Entity) const throw (MEDEXCEPTION);
00068
00069 bool existConnectivity(medConnectivity ConnectivityType,
00070 medEntityMesh Entity) const;
00071
00072 const int* getReverseConnectivity (medConnectivity ConnectivityType,
00073 medEntityMesh Entity=MED_CELL) const throw (MEDEXCEPTION);
00074
00075 const int* getReverseConnectivityIndex (medConnectivity ConnectivityType,
00076 medEntityMesh Entity=MED_CELL) const throw (MEDEXCEPTION);
00077
00078 const int* getValue (medConnectivity TypeConnectivity,
00079 medGeometryElement Type) const;
00080
00081 const int* getValueIndex (medConnectivity TypeConnectivity) const;
00082 const int* getNeighbourhood() const;
00083 };
00084 };
00085
00086
00087 #endif