Salome HOME
set Z coordinate by default in interpolz_B method
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 29 Jan 2019 15:50:41 +0000 (16:50 +0100)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 29 Jan 2019 15:50:41 +0000 (16:50 +0100)
src/HYDROTools/interpolZ.py

index 70a4b2523e2b2031c8062eac7d0c74f559d397e7..2c81d63ec80eb70f3f8c9b2c2572797867ed9661 100644 (file)
@@ -361,7 +361,7 @@ def interpolZ(nomCas, fichierMaillage, dicoGroupeRegion, zUndef=90., regions_int
   return statz
 
 
-def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_method=0, m3d=False, xyzFile=False, verbose=False):
+def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_method=0, m3d=True, xyzFile=False, verbose=False):
   """
   interpolZ_B takes a 2D (x,y) mesh and calls the active instance of module HYDRO
   to interpolate the bathymetry/altimetry on the mesh nodes, to produce the Z value of each node.
@@ -375,7 +375,7 @@ def interpolZ_B(bathyName, fichierMaillage, gr_face_name, zUndef=90., interp_met
     interp_method: interpolation method
                     0 = nearest point on bathymetry
                     1 = linear interpolation
-    m3d: True/False to produce a 3D mesh. Default is False.
+    m3d: True/False to produce a 3D mesh. Default is True.
     xyzFile: True/False to write an ascii file with xyz for every node. Default is False.
   Out:
     if OK : statz_gr_face_name: statistic for z: (minz, maxz, meanz, stdz, v05z, v95z)