From: eap Date: Thu, 26 May 2011 16:26:55 +0000 (+0000) Subject: 0021274: EDF 1872 SMESH: Save in hdf files loses 0D elements in a group X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3864977502bcd118765f5148338839c21bda246;p=modules%2Fsmesh.git 0021274: EDF 1872 SMESH: Save in hdf files loses 0D elements in a group + static long Get0DElementsGroupsTag(); --- diff --git a/src/SMESH_I/SMESH_Gen_i.hxx b/src/SMESH_I/SMESH_Gen_i.hxx index e694f41cc..a4f30ef50 100644 --- a/src/SMESH_I/SMESH_Gen_i.hxx +++ b/src/SMESH_I/SMESH_Gen_i.hxx @@ -462,6 +462,7 @@ public: static long GetEdgeGroupsTag(); static long GetFaceGroupsTag(); static long GetVolumeGroupsTag(); + static long Get0DElementsGroupsTag(); // publishing methods SALOMEDS::SComponent_ptr PublishComponent(SALOMEDS::Study_ptr theStudy); diff --git a/src/SMESH_I/SMESH_Gen_i_1.cxx b/src/SMESH_I/SMESH_Gen_i_1.cxx index 5a82382d6..d83952fc1 100644 --- a/src/SMESH_I/SMESH_Gen_i_1.cxx +++ b/src/SMESH_I/SMESH_Gen_i_1.cxx @@ -138,6 +138,11 @@ long SMESH_Gen_i::GetVolumeGroupsTag() return SMESH::Tag_VolumeGroups; } +long SMESH_Gen_i::Get0DElementsGroupsTag() +{ + return SMESH::Tag_0DElementsGroups; +} + //============================================================================= /*! * SMESH_Gen_i::CanPublishInStudy