Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234261 Details for
Bug 155974
[science overlay] sci-misc/salome-* (New packages)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
same patch than salome-med-5.1.2-med_int_2.patch
salome-med-5.1.3-med_int_add.patch (text/plain), 8.15 KB, created by
LE GARREC Vincent
on 2010-06-06 01:15:43 UTC
(
hide
)
Description:
same patch than salome-med-5.1.2-med_int_2.patch
Filename:
MIME Type:
Creator:
LE GARREC Vincent
Created:
2010-06-06 01:15:43 UTC
Size:
8.15 KB
patch
obsolete
>--- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-05-23 02:22:21.894005117 +0200 >+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/Test/MEDSPLITTERTest_MESHCollection.cxx 2010-05-23 02:24:45.413002267 +0200 >@@ -300,8 +300,8 @@ > char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; > char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; > int dom1, dom2; >- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1,(med_int*)&dom1, maa_dist1); >- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2,(med_int*)&dom2, maa_dist2); >+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1,(med_2_3::med_int*)&dom1, maa_dist1); >+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2,(med_2_3::med_int*)&dom2, maa_dist2); > CPPUNIT_ASSERT(strcmp(jn1,"joint_2")==0); > CPPUNIT_ASSERT(strcmp(jn2,"joint_1")==0); > CPPUNIT_ASSERT_EQUAL(dom1,1); >@@ -467,8 +467,8 @@ > char maa_dist1[MED_TAILLE_NOM], jn1[MED_TAILLE_NOM]; > char desc2[MED_TAILLE_DESC], maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; > int dom1, dom2; >- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); >- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); >+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_2_3::med_int*)&dom1, maa_dist1); >+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_2_3::med_int*)&dom2, maa_dist2); > CPPUNIT_ASSERT_EQUAL(dom1,1); > CPPUNIT_ASSERT_EQUAL(dom2,0); > >@@ -548,7 +548,7 @@ > //testing cells global numbering > num = new med_2_3::med_int[2]; > MEDglobalNumLire(fid1, meshname1, num, 2, typ_ent_loc, typ_geo_loc); >- med_2_3::med_int* globcellref = new med_int[2]; >+ med_2_3::med_int* globcellref = new med_2_3::med_int[2]; > globcellref[0]=1; > globcellref[1]=3; > >@@ -775,8 +775,8 @@ > char maa_dist2[MED_TAILLE_NOM], jn2[MED_TAILLE_NOM]; > int dom1, dom2; > // med_2_3::med_int dom1, dom2; >- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); >- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); >+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_2_3::med_int*)&dom1, maa_dist1); >+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_2_3::med_int*)&dom2, maa_dist2); > CPPUNIT_ASSERT_EQUAL(dom1,1); > CPPUNIT_ASSERT_EQUAL(dom2,0); > >@@ -1143,8 +1143,8 @@ > char maa_dist1[MED_TAILLE_NOM+1], jn1[MED_TAILLE_NOM+1]; > char desc2[MED_TAILLE_DESC+1], maa_dist2[MED_TAILLE_NOM+1], jn2[MED_TAILLE_NOM+1]; > int dom1, dom2; >- med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_int*)&dom1, maa_dist1); >- med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_int*)&dom2, maa_dist2); >+ med_2_3::MEDjointInfo(fid1, meshname1, 1, jn1, desc1, (med_2_3::med_int*)&dom1, maa_dist1); >+ med_2_3::MEDjointInfo(fid2, meshname2, 1, jn2, desc2, (med_2_3::med_int*)&dom2, maa_dist2); > CPPUNIT_ASSERT_EQUAL(dom1,1); > CPPUNIT_ASSERT_EQUAL(dom2,0); > >--- src5.1.3.orig/MED_SRC_5.1.3/src/MEDWrapper/V2_2/MED_V2_2_Wrapper.cxx 2009-12-01 15:59:11.000000000 +0100 >+++ src5.1.3/MED_SRC_5.1.3/src/MEDWrapper/V2_2/MED_V2_2_Wrapper.cxx 2010-05-22 00:47:23.572001730 +0200 >@@ -95,7 +95,7 @@ > void > GetVersionRelease<eV2_2>(TInt& majeur, TInt& mineur, TInt& release) > { >- MEDversionDonner(&majeur, &mineur, &release); >+ MEDversionDonner((med_int*)&majeur, (med_int*)&mineur, (med_int*)&release); > } > > template<> >--- src5.1.3.orig/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-06-05 13:42:40.264947134 +0200 >+++ src5.1.3/MED_SRC_5.1.3/src/MEDSPLITTER/MEDSPLITTER_MESHCollectionDriver.cxx 2010-06-05 13:48:07.532948803 +0200 >@@ -189,7 +189,7 @@ > > int ncorr = med_2_3::MEDjointInfo(fid,meshname, ijoint+1, name, > joint_description, >- (med_int*)&distant, name_distant); >+ (med_2_3::med_int*)&distant, name_distant); > > for (int ic=0; ic<ncorr; ic++) > { >@@ -209,7 +209,7 @@ > { > > med_2_3::MEDjointLire(fid, meshname, name, >- (med_int*)node_corresp,ncouples, >+ (med_2_3::med_int*)node_corresp,ncouples, > cor_typent_local, cor_typgeo_local, > cor_typent_dist, cor_typgeo_dist > ); >@@ -247,7 +247,7 @@ > if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; > int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); > if (ntype==0) continue; >- med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, >+ med_2_3::MEDglobalNumLire(fid,meshname, (med_2_3::med_int*)array+offset, ntype, > med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); > offset+=ntype; > } >@@ -259,7 +259,7 @@ > int nnode= (m_collection->getMesh())[idomain]->getNumberOfNodes(); > { > int* array=new int[nnode]; >- med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array, nnode, >+ med_2_3::MEDglobalNumLire(fid,meshname, (med_2_3::med_int*)array, nnode, > med_2_3::MED_NOEUD, med_2_3::MED_POINT1); > nodeglobal[idomain]=array; > } >@@ -280,7 +280,7 @@ > > int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_FACE,type); > if (ntype==0) continue; >- med_2_3::MEDglobalNumLire(fid,meshname, (med_int*)array+offset, ntype, >+ med_2_3::MEDglobalNumLire(fid,meshname, (med_2_3::med_int*)array+offset, ntype, > med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); > offset+=ntype; > } >@@ -348,7 +348,7 @@ > jointSort(node_corresp, nbnodes, false); > > error= >- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)node_corresp, nbnodes, >+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_2_3::med_int*)node_corresp, nbnodes, > med_2_3::MED_NOEUD, med_2_3::MED_POINT1,med_2_3::MED_NOEUD, med_2_3::MED_POINT1); > if (error==-1) cout << "erreur creation de joint "<<endl; > >@@ -388,7 +388,7 @@ > if (!m_collection->isDimensionOK(type,m_collection->getMeshDimension())) continue; > int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(MED_EN::MED_CELL,type); > if (ntype==0) continue; >- med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, >+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_2_3::med_int*)array+offset, ntype, > med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); > offset+=ntype; > >@@ -426,7 +426,7 @@ > > int ntype = (m_collection->getMesh())[idomain]->getNumberOfElementsWithPoly(constituent_entity,type); > if (ntype==0) continue; >- med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array+offset, ntype, >+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_2_3::med_int*)array+offset, ntype, > med_2_3::MED_MAILLE, (med_2_3::med_geometrie_element)type); > > offset+=ntype; >@@ -443,7 +443,7 @@ > > m_collection->getTopology()->getNodeList(idomain,array); > >- med_2_3::MEDglobalNumEcr(fid,meshchar, (med_int*)array, nnode, >+ med_2_3::MEDglobalNumEcr(fid,meshchar, (med_2_3::med_int*)array, nnode, > med_2_3::MED_NOEUD, med_2_3::MED_POINT1); > > delete[] array; >@@ -507,7 +507,7 @@ > corresp.push_back(value[icol]); > } > int size_joint = corresp.size()/2; >- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)&corresp[0], >+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_2_3::med_int*)&corresp[0], > size_joint, med_2_3::MED_MAILLE, > (med_2_3::med_geometrie_element)local_type ,med_2_3::MED_MAILLE, > (med_2_3::med_geometrie_element)distant_type ); >@@ -541,7 +541,7 @@ > med_2_3::med_geometrie_element distant_geo_elem=(med_2_3::med_geometrie_element)iter->first.second; > int size_joint=size/2; > //med_2_3::med_err error = >- med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_int*)corresp, size_joint, med_2_3::MED_MAILLE, >+ med_2_3::MEDjointEcr(fid, mesh_name, joint_name, (med_2_3::med_int*)corresp, size_joint, med_2_3::MED_MAILLE, > local_geo_elem,med_2_3::MED_MAILLE, distant_geo_elem); > delete[] corresp; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 155974
:
102571
|
102572
|
102573
|
114639
|
114650
|
114651
|
114653
|
114655
|
114657
|
114659
|
114660
|
114662
|
114664
|
120027
|
120226
|
131980
|
131981
|
131983
|
137331
|
137336
|
137338
|
137719
|
138048
|
138578
|
138580
|
138581
|
138582
|
138583
|
138584
|
138586
|
138588
|
138877
|
138896
|
138925
|
138960
|
139043
|
139045
|
139956
|
139958
|
139964
|
139965
|
139973
|
140002
|
140005
|
140007
|
140030
|
140032
|
140064
|
140066
|
140068
|
140071
|
140073
|
140086
|
140088
|
140280
|
140283
|
140301
|
140303
|
140366
|
140368
|
140373
|
140375
|
140378
|
140385
|
140386
|
140455
|
140466
|
140468
|
140472
|
140474
|
140637
|
141242
|
141243
|
141250
|
141252
|
141254
|
141256
|
141257
|
141462
|
141473
|
141474
|
141475
|
141565
|
141572
|
142892
|
142894
|
142905
|
143984
|
143986
|
144011
|
144061
|
144063
|
144084
|
144086
|
144089
|
144091
|
144093
|
144098
|
144105
|
144107
|
144117
|
144119
|
144182
|
144184
|
144185
|
144187
|
144188
|
144198
|
144223
|
144305
|
144306
|
144308
|
144310
|
144311
|
144313
|
144314
|
144316
|
144318
|
144320
|
144347
|
144348
|
144350
|
144352
|
144353
|
144354
|
144356
|
144357
|
144557
|
145883
|
145885
|
145887
|
146138
|
146414
|
147142
|
147146
|
148604
|
148606
|
148607
|
148609
|
148611
|
148613
|
148615
|
148617
|
148618
|
148619
|
150326
|
151031
|
151032
|
151034
|
151036
|
151038
|
151039
|
151040
|
151042
|
151044
|
151045
|
152339
|
152341
|
152343
|
152345
|
152347
|
152349
|
152351
|
152353
|
152355
|
152357
|
152359
|
152361
|
152363
|
152365
|
152369
|
152371
|
152979
|
153067
|
154323
|
154325
|
154327
|
154329
|
154331
|
154333
|
154335
|
158563
|
161347
|
163275
|
163841
|
163842
|
164412
|
164611
|
168552
|
168560
|
168624
|
168626
|
168724
|
168726
|
168734
|
168736
|
178432
|
178434
|
178739
|
179160
|
179161
|
179162
|
179237
|
179627
|
179628
|
183321
|
183323
|
183324
|
183325
|
183327
|
183329
|
183347
|
183348
|
189058
|
189059
|
189061
|
200799
|
200800
|
200802
|
200803
|
200805
|
200807
|
200809
|
200811
|
200812
|
200813
|
200815
|
200816
|
200818
|
200820
|
200821
|
200823
|
200825
|
204604
|
204699
|
204980
|
205339
|
223869
|
223871
|
232539
| 234261 |
253803
|
253805
|
254743
|
254751
|
254755
|
257260
|
257261
|
268839
|
268883
|
278009
|
286253
|
286255
|
286257
|
286259
|
286261
|
286263
|
286265
|
286267
|
286269
|
286271
|
286273
|
323878