Salome HOME
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
authoreap <eap@opencascade.com>
Wed, 16 Mar 2011 15:35:00 +0000 (15:35 +0000)
committereap <eap@opencascade.com>
Wed, 16 Mar 2011 15:35:00 +0000 (15:35 +0000)
commit098d6b0723b6dea4120e4238fc2c9ec3972efb29
treea95b338c171c3bda758e96baa23b632185bbd576
parentfcae5eda64fe8a9a60b290c7ccd0039fb7c44abe
0020978: EDF 1475 SMESH: Convert linear to quadratic on a submesh
  fix the problem with adding elements (elements are not added) after
  {elems removal + addition of elements with specified IDs}:
  1) add elems with IDs 1,2,3
  2) remove elem 1 (1 stored in the pool )
  3) add elem with id 1 (1 remains in the pool)
  4) add elem with no id specified -> not added as GetFreeID() returns
     1 which is already occupied

+  virtual int GetFreeID();
src/SMDS/SMDS_MeshElementIDFactory.cxx
src/SMDS/SMDS_MeshElementIDFactory.hxx
src/SMDS/SMDS_MeshNodeIDFactory.cxx
src/SMDS/SMDS_MeshNodeIDFactory.hxx