X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fexamples%2Fh014_caseDigueManualInterpolZ.py;h=7026406beb6726e3acd6bdc5a1f50b46fdf0055c;hb=e3a588626a51ca8bde6decbf32d54409ae5b88ce;hp=9980a29c75abb6e885c8b80430506f18af5df266;hpb=d7abcc094576f2a893056acfcd7fe13cb421f8bb;p=modules%2Fhydro.git diff --git a/doc/salome/examples/h014_caseDigueManualInterpolZ.py b/doc/salome/examples/h014_caseDigueManualInterpolZ.py index 9980a29c..7026406b 100644 --- a/doc/salome/examples/h014_caseDigueManualInterpolZ.py +++ b/doc/salome/examples/h014_caseDigueManualInterpolZ.py @@ -597,10 +597,10 @@ from salome.hydrotools.controls import controlStatZ nomCas = 'garonne_1' # --- dictionary [med group name] = region name -dicoGroupeRegion= dict(garonne_1_litMineur = 'garonne_1_litMineur', - garonne_1_riveDroite = 'garonne_1_riveDroite', - garonne_1_riveGauche = 'garonne_1_riveGauche', - garonne_1_digue = 'garonne_1_digue', +dicoGroupeRegion= dict(litMineur = 'garonne_1_litMineur', + riveDroite = 'garonne_1_riveDroite', + riveGauche = 'garonne_1_riveGauche', + digue = 'garonne_1_digue', ) # --- value to use for Z when the node is not in a region (used to detect problems) zUndef = 90 @@ -608,11 +608,11 @@ zUndef = 90 # --- Z interpolation on the bathymety/altimetry on the mesh nodes statz = interpolZ(nomCas, fichierMaillage, dicoGroupeRegion, zUndef) #print statz -refstatz = {'garonne_1_riveDroite': (10.88, 32.61, 24.09, 5.13, 17.57, 31.33, 0.2), - 'garonne_1_riveGauche': (7.72, 72.40, 21.59, 8.37, 16.71, 35.71, 0.2), - 'garonne_1_litMineur': (2.06, 25.41, 13.93, 4.33, 8.47, 21.78), - 'garonne_1_digue': (14.10, 27.09, 22.01, 2.56, 18.15, 25.02)} +refstatz = {'riveDroite': (10.88, 32.61, 24.09, 5.13, 17.57, 31.33, 0.2), + 'riveGauche': (7.72, 72.40, 21.59, 8.37, 16.71, 35.71, 0.2), + 'litMineur': (2.06, 25.41, 13.93, 4.33, 8.47, 21.78), + 'digue': (14.10, 27.09, 22.01, 2.56, 18.15, 25.02)} controlStatZ(statz, refstatz) # --- add a field on nodes of type double with z values, named "BOTTOM" -createZfield2(fichierMaillage) +#createZfield2(fichierMaillage)