@@ -2041,27 +2041,41 @@ static size_t computeChunkSize (size_t count, size_t elementSize)
20412041
20422042
20432043MaliPPWriter2::MaliPPWriter2 (const IN_STD string& nom_fichier, size_type num)
2044- : m_fileName(nom_fichier), m_meshNum(num),
2044+ : m_fileName(nom_fichier), m_meshNum(num), m_meshGroup ( ), m_hdfFile ( ),
20452045 m_dim(D3),
20462046 m_unilo(1 .),
20472047 m_unia(1 .),
20482048 m_geom(NORMAL),
20492049 m_tycoo(CARTESIEN),
20502050 m_titre(" " ),
20512051 m_date(" " ),
2052+ m_nbMeshAttributes (0 ),
2053+ m_meshAttributesGroup ( ),
20522054 m_nodesIsContiguous(false ),
20532055 m_nodeIndexCurrent(0 ),
20542056 m_nbNodes(0 ),
2057+ m_nbNodeSet (0 ),
2058+ m_nbNodeAttributes (0 ),
2059+ m_nbNodeSetsAttributes (0 ),
20552060 m_edgesIsContiguous(false ),
20562061 m_edgeIndexCurrent(0 ),
20572062 m_nbEdges(0 ),
2063+ m_nbEdgeSet (0 ),
2064+ m_nbEdgeAttributes (0 ),
2065+ m_nbEdgeSetsAttributes (0 ),
20582066 m_facesIsContiguous(false ),
20592067 m_faceIndexCurrent(0 ),
20602068 m_nbFaces(0 ),
2069+ m_nbFaceSet (0 ),
2070+ m_nbFaceAttributes (0 ),
2071+ m_nbFaceSetsAttributes (0 ),
20612072 m_nbNodesPerFaceIndexCurrent(0 ),
20622073 m_regionsIsContiguous(false ),
20632074 m_regionIndexCurrent(0 ),
20642075 m_nbRegions(0 ),
2076+ m_nbRegionSet (0 ),
2077+ m_nbRegionAttributes (0 ),
2078+ m_nbRegionSetsAttributes (0 ),
20652079 m_nbNodesPerRegionIndexCurrent(0 )
20662080{
20672081
@@ -2384,8 +2398,46 @@ void MaliPPWriter2::close ( )
23842398 writeComposition (m_regionSetCompo[igrp], CELL3D_COMPOSITION_DATASET_NAME, m_regionSetGroups[igrp]);
23852399 }
23862400
2387- m_meshGroup = Group ( );
2388- m_hdfFile.reset (0 );
2401+ m_meshGroup = Group ( );
2402+ m_meshAttributesGroup = Group ( );
2403+ m_nodeGroup = Group ( );
2404+ m_nodeZCoordDataSet = DataSet ( );
2405+ m_nodeYCoordDataSet = DataSet ( );
2406+ m_nodeXCoordDataSet = DataSet ( );
2407+ m_nodeIdsDataSet = DataSet ( );
2408+ m_nodeSetGroup = Group ( );
2409+ m_nodeSetGroups.clear ( );
2410+ m_nodeSetIdsDataSet.clear ( );
2411+ m_nodeAttributesGroup = Group ( );
2412+ m_nodeSetsAttributesGroup = Group ( );
2413+ m_edgeGroup = Group ( );
2414+ m_edge2nodeIdsDataSet = DataSet ( );
2415+ m_edgeIdsDataSet = DataSet ( );
2416+ m_edgeSetGroup = Group ( );
2417+ m_edgeSetGroups.clear ( );
2418+ m_edgeSetIdsDataSet.clear ( );
2419+ m_edgeAttributesGroup = Group ( );
2420+ m_edgeSetsAttributesGroup = Group ( );
2421+ m_faceGroup = Group ( );
2422+ m_face2nodeIdsDataSet = DataSet ( );
2423+ m_nbNodesPerFaceDataSet = DataSet ( );
2424+ m_faceIdsDataSet = DataSet ( );
2425+ m_faceSetGroup = Group ( );
2426+ m_faceSetGroups.clear ( );
2427+ m_faceSetIdsDataSet.clear ( );
2428+ m_faceAttributesGroup = Group ( );
2429+ m_faceSetsAttributesGroup = Group ( );
2430+ m_regionGroup = Group ( );
2431+ m_region2nodeIdsDataSet = DataSet ( );
2432+ m_nbNodesPerRegionDataSet = DataSet ( );
2433+ m_regionIdsDataSet = DataSet ( );
2434+ m_regionSetGroup = Group ( );
2435+ m_regionSetGroups.clear ( );
2436+ m_regionSetIdsDataSet.clear ( );
2437+ m_regionAttributesGroup = Group ( );
2438+ m_regionSetsAttributesGroup = Group ( );
2439+
2440+ m_hdfFile.reset (0 ); // CP : invoque close ( )
23892441
23902442 COMPLETE_TRY_CATCH_BLOCK
23912443 if (throwExc) {
0 commit comments