Salome HOME
template for interpolZ must call the function for BOTTOM field creation...
authorPaul RASCLE <paul.rascle@edf.fr>
Tue, 28 Mar 2017 15:16:47 +0000 (17:16 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Tue, 28 Mar 2017 15:16:47 +0000 (17:16 +0200)
src/salome_hydro/interpolz.template

index 102b67feb84e19fa12ba88c75ec2eb395d68437c..f658fec3d6a12949ba5d1cd17c253b49606760a0 100644 (file)
@@ -1,5 +1,5 @@
 # Z interpolation with HYDRO
-from salome.hydrotools.interpolZ import interpolZ
+from salome.hydrotools.interpolZ import interpolZ, createZfield2
 
 # Calculation case name in HYDRO
 caseName = <case_name_from_dlg>
@@ -18,3 +18,4 @@ interpolMethod = <interpolation_method_value_from_dlg>
 
 # Z interpolation on the bathymetry/altimetry on the mesh nodes
 statZ = interpolZ(caseName, medFile, dictGroupRegion, zUndef,interpolMethod)
+createZfield2(medFile)