From 63f675a28bed9221416388a903904b50bb7700a6 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Wed, 10 May 2017 17:14:13 +0200 Subject: [PATCH] =?utf8?q?correction=20cas=20test=20interpolation=20stream?= =?utf8?q?=20li=C3=A9e=20aux=20corrections=20de=20la=20m=C3=A9thode=20stre?= =?utf8?q?am?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- doc/salome/examples/h018_streamInterpolation.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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" -- 2.39.2