From: Paul RASCLE Date: Wed, 10 May 2017 15:14:13 +0000 (+0200) Subject: correction cas test interpolation stream liée aux corrections de la méthode stream X-Git-Tag: Salome_8_3_Hydro_1_1rc1~27 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=63f675a28bed9221416388a903904b50bb7700a6;p=modules%2Fhydro.git correction cas test interpolation stream liée aux corrections de la méthode stream --- diff --git a/doc/salome/examples/h018_streamInterpolation.py b/doc/salome/examples/h018_streamInterpolation.py index 04cb1ba4..5cda22b9 100644 --- a/doc/salome/examples/h018_streamInterpolation.py +++ b/doc/salome/examples/h018_streamInterpolation.py @@ -283,7 +283,7 @@ Stream_1.SetHydraulicAxis( axe ) for profil in seqProfs: Stream_1.AddProfile(profil) -Stream_1.SetDDZ( 0.200 ) +Stream_1.SetDDZ( 0.050 ) Stream_1.SetSpatialStep( 0.5 ) Stream_1.Update() @@ -369,9 +369,9 @@ geompy.addToStudyInFather( HYDRO_Case_1, sections, 'sections' ) # --- basic properties control: edges length, surfaces -controlGeomProps(geompy, riveGauche, 355.795218, 7765.650632) -controlGeomProps(geompy, litMineur, 383.674511, 3410.00875 ) -controlGeomProps(geompy, riveDroite, 419.322218, 2549.630118) +controlGeomProps(geompy, riveGauche, 355.239855, 7755.628676) +controlGeomProps(geompy, litMineur, 383.395884, 3432.296956) +controlGeomProps(geompy, riveDroite, 419.214176, 2537.363869) #---------------------- # --- Meshing @@ -448,7 +448,7 @@ except: controlMeshStats(plaine, 1680, 227, 3251) controlSubMeshStats(litMineur_2, 2400) -controlSubMeshStats(riveDroite_1, 271) +controlSubMeshStats(riveDroite_1, 257) controlSubMeshStats(riveGauche_1, 580) #---------------------- @@ -475,9 +475,9 @@ zUndef = 110 # --- Z interpolation on the bathymety/altimetry on the mesh nodes statz = interpolZ(nomCas, fichierMaillage, dicoGroupeRegion, zUndef) #print statz -refstatz = {'riveDroite': (99.83, 100.80, 100.09, 0.21, 99.98, 100.64), +refstatz = {'riveDroite': (100.0, 100.0, 100.0, 0.0, 100.0, 100.0), 'riveGauche': (100.0, 100.0, 100.0, 0.0, 100.0, 100.0), - 'litMineur': (80.45, 100.80, 92.85, 4.83, 84.43, 100.0)} + 'litMineur': (80.35, 100.0, 92.88, 4.82, 84.44, 100.0)} controlStatZ(statz, refstatz) # --- add a field on nodes of type double with z values, named "BOTTOM"