mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
23517: [CEA 2203] : Mesh group of polyhedron not exported in med and not saved in hdf
This commit is contained in:
parent
41bd7f7364
commit
1a94b887a2
@ -780,6 +780,13 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// build map of family numbers for this type
|
||||||
|
if ( !isElemFamMapBuilt[ aElemTypeData->_smdsType ])
|
||||||
|
{
|
||||||
|
fillElemFamilyMap( anElemFamMap, aFamilies, aElemTypeData->_smdsType );
|
||||||
|
isElemFamMapBuilt[ aElemTypeData->_smdsType ] = true;
|
||||||
|
}
|
||||||
|
|
||||||
// iterator on elements of a current type
|
// iterator on elements of a current type
|
||||||
SMDS_ElemIteratorPtr elemIterator;
|
SMDS_ElemIteratorPtr elemIterator;
|
||||||
int iElem = 0;
|
int iElem = 0;
|
||||||
@ -930,13 +937,6 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
|||||||
// allocate data arrays
|
// allocate data arrays
|
||||||
PBallInfo aBallInfo = myMed->CrBallInfo( aMeshInfo, aElemTypeData->_nbElems );
|
PBallInfo aBallInfo = myMed->CrBallInfo( aMeshInfo, aElemTypeData->_nbElems );
|
||||||
|
|
||||||
// build map of family numbers for this type
|
|
||||||
if ( !isElemFamMapBuilt[ aElemTypeData->_smdsType ])
|
|
||||||
{
|
|
||||||
fillElemFamilyMap( anElemFamMap, aFamilies, aElemTypeData->_smdsType );
|
|
||||||
isElemFamMapBuilt[ aElemTypeData->_smdsType ] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
elemIterator = myMesh->elementsIterator( SMDSAbs_Ball );
|
elemIterator = myMesh->elementsIterator( SMDSAbs_Ball );
|
||||||
while ( elemIterator->more() )
|
while ( elemIterator->more() )
|
||||||
{
|
{
|
||||||
@ -976,12 +976,6 @@ Driver_Mesh::Status DriverMED_W_SMESHDS_Mesh::Perform()
|
|||||||
theConnMode,
|
theConnMode,
|
||||||
theIsElemNum,
|
theIsElemNum,
|
||||||
theIsElemNames);
|
theIsElemNames);
|
||||||
// build map of family numbers for this type
|
|
||||||
if ( !isElemFamMapBuilt[ aElemTypeData->_smdsType ])
|
|
||||||
{
|
|
||||||
fillElemFamilyMap( anElemFamMap, aFamilies, aElemTypeData->_smdsType );
|
|
||||||
isElemFamMapBuilt[ aElemTypeData->_smdsType ] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
TInt aNbNodes = MED::GetNbNodes(aElemTypeData->_geomType);
|
TInt aNbNodes = MED::GetNbNodes(aElemTypeData->_geomType);
|
||||||
elemIterator = myMesh->elementsIterator( aElemTypeData->_smdsType );
|
elemIterator = myMesh->elementsIterator( aElemTypeData->_smdsType );
|
||||||
|
Loading…
Reference in New Issue
Block a user