X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Fh011_normalCaseManualInterpolZ.py;h=74231688224682f8d1b05557eaa82fbd8e71fe8e;hb=ccf1fc3746f78940dffc56d4958695c39a2a3088;hp=ec0a17ecab50207b538ae1a9df04d0c365c775fb;hpb=7ea81b79050d0d673fff569f9ab80239e038903c;p=modules%2Fhydro.git diff --git a/doc/salome/examples/h011_normalCaseManualInterpolZ.py b/doc/salome/examples/h011_normalCaseManualInterpolZ.py index ec0a17ec..74231688 100644 --- a/doc/salome/examples/h011_normalCaseManualInterpolZ.py +++ b/doc/salome/examples/h011_normalCaseManualInterpolZ.py @@ -359,8 +359,6 @@ geompy.addToStudyInFather( HYDRO_garonne_1, bordDroiteDomaine, 'bordDroiteDomain # --- basic properties control: edges length, surfaces controlGeomProps(geompy, riveGauche, 29149.36918, 35948828.352061) -#controlGeomProps(geompy, litMineur, 30337.5484919, 3263628.55399) -#controlGeomProps(geompy, riveDroite, 32012.3432411, 26177085.4601) controlGeomProps(geompy, litMineur, 30337.548492, 3488480.304388) controlGeomProps(geompy, riveDroite, 32012.343241, 25998769.23615) @@ -443,10 +441,6 @@ SectionsGaronne_3 = garonne_1.GroupOnGeom(SectionsGaronne,'SectionsGaronne',SMES garonne_1.SetAutoColor( 1 ) garonne_1.ExportMED( med_file, 0, SMESH.MED_V2_2, 1, None ,1) -#controlMeshStats(garonne_1, 1763, 180, 3360) -#controlSubMeshStats(litMineur_2, 48) -#controlSubMeshStats(riveDroite_1, 1360) -#controlSubMeshStats(riveGauche_1, 1952) controlMeshStats(garonne_1, 3888, 475, 7597) controlSubMeshStats(litMineur_2, 2384) controlSubMeshStats(riveDroite_1, 2342) @@ -478,7 +472,10 @@ zUndef = 90 # --- Z interpolation on the bathymety/altimetry on the mesh nodes statz = interpolZ(nomCas, fichierMaillage, dicoGroupeRegion, zUndef) -refstatz = {'riveDroite': (10.88, 32.61), 'riveGauche': (7.72, 71.86, 0.5), 'litMineur': (2.06, 25.41)} +#print statz +refstatz = {'riveDroite': (10.88, 32.61, 24.17, 5.12, 17.57, 31.33, 0.2), + 'riveGauche': (7.72, 71.86, 24.51, 12.18, 12.90, 60.36, 0.2), + 'litMineur': (2.06, 25.41, 13.93, 4.33, 8.47, 21.78)} controlStatZ(statz, refstatz) # --- add a field on nodes of type double with z values, named "BOTTOM"