Salome HOME
ajustement parametres autotests
[modules/hydro.git] / doc / salome / examples / h018_streamInterpolation.py
index 04cb1ba46159f128b1952e84a664c3d0b6c1e815..5cda22b9b470af3658246f209d11e012c4737722 100644 (file)
@@ -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"