X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_MEDSupport_i.cxx;h=0db6c4095e9300ff7ef67e836828f3d58eacb9ba;hp=931bb835bb7e56c2f54e51b64fcc26e9291507e5;hb=341338ff083c4c6f4ab2839c626833818c2b6c42;hpb=fca9d067046098c724de917b6a372a87c0569fc7 diff --git a/src/SMESH_I/SMESH_MEDSupport_i.cxx b/src/SMESH_I/SMESH_MEDSupport_i.cxx index 931bb835b..0db6c4095 100644 --- a/src/SMESH_I/SMESH_MEDSupport_i.cxx +++ b/src/SMESH_I/SMESH_MEDSupport_i.cxx @@ -293,7 +293,7 @@ CORBA::Long SMESH_MEDSupport_i::getNumberOfElements(SALOME_MED:: */ //============================================================================= -Engines::long_array * SMESH_MEDSupport_i::getNumber( +SALOME_MED::long_array * SMESH_MEDSupport_i::getNumber( SALOME_MED::medGeometryElement geomElement) throw(SALOME::SALOME_Exception) { if (_subMeshDS==NULL) @@ -304,7 +304,7 @@ Engines::long_array * SMESH_MEDSupport_i::getNumber( if (geomElement != SALOME_MED::MED_NONE) THROW_SALOME_CORBA_EXCEPTION("Not implemented", SALOME::BAD_PARAM); - Engines::long_array_var myseq = new Engines::long_array; + SALOME_MED::long_array_var myseq = new SALOME_MED::long_array; int i = 0; myseq->length(_subMeshDS->NbNodes()); @@ -330,12 +330,12 @@ Engines::long_array * SMESH_MEDSupport_i::getNumber( */ //============================================================================= -Engines::long_array * +SALOME_MED::long_array * SMESH_MEDSupport_i::getNumberIndex()throw(SALOME::SALOME_Exception) { MESSAGE("Not implemented for SMESH_i"); THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM); - return 0; + return NULL; } //============================================================================= @@ -344,9 +344,57 @@ Engines::long_array * */ //============================================================================= -CORBA::Long SMESH_MEDSupport_i::getNumberOfGaussPoints(SALOME_MED:: +CORBA::Long SMESH_MEDSupport_i::getNumberOfGaussPoint(SALOME_MED:: medGeometryElement geomElement) throw(SALOME::SALOME_Exception) { MESSAGE("Not implemented for SMESH_i"); return 0; } +//============================================================================= +/*! + * Gives the number of types of elements included in the support + */ +//============================================================================= +CORBA::Long SMESH_MEDSupport_i::getNumberOfTypes() + throw (SALOME::SALOME_Exception) +{ + MESSAGE("!!! NOT YET IMPLEMENTED !!!!"); + THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM); + return 0; +} +//============================================================================= +/*! + * Gives CORBA: Array containing the numbers of Gauss point of elements + * included in the support + */ +//============================================================================= +SALOME_MED::long_array* SMESH_MEDSupport_i::getNumbersOfGaussPoint() + throw (SALOME::SALOME_Exception) +{ + MESSAGE("!!! NOT YET IMPLEMENTED !!!!"); + THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM); + return NULL; +} +//============================================================================= +/*! + * build the object which will contain all the boundary elements of the mesh. + */ +//============================================================================= +void SMESH_MEDSupport_i::getBoundaryElements() + throw (SALOME::SALOME_Exception) +{ + MESSAGE("!!! NOT YET IMPLEMENTED !!!!"); + THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM); +} +//============================================================================= +/*! + * Gives information on the support + */ +//============================================================================= +SALOME_MED::SUPPORT::supportInfos * SMESH_MEDSupport_i::getSupportGlobal() + throw (SALOME::SALOME_Exception) +{ + MESSAGE("!!! NOT YET IMPLEMENTED !!!!"); + THROW_SALOME_CORBA_EXCEPTION("Not Implemented", SALOME::BAD_PARAM); + return NULL; +}