Salome HOME
lot 19 : GUI part
[modules/hydrosolver.git] / src / salome_hydro / interpolz_b.template
diff --git a/src/salome_hydro/interpolz_b.template b/src/salome_hydro/interpolz_b.template
new file mode 100644 (file)
index 0000000..2db6325
--- /dev/null
@@ -0,0 +1,21 @@
+# Z interpolation with HYDRO
+from salome.hydrotools.interpolZ import interpolZ_B
+
+# Bathymetry name in HYDRO
+bathyName = <bathy_name_from_dlg>
+
+# MED file 2D(x,y) of the case produced by SMESH
+medFile = <MED_file_path_from_dlg>
+
+# med group name
+med_group_name = <MED_Group>
+
+# Value to use for undefined Z (used to detect problems)
+zUndef = <z_undef_value_from_dlg>
+
+# Interpolation method
+im = <interpolation_method>
+
+# Z interpolation on the bathymetry on the mesh nodes of given group
+statZ = interpolZ_B(bathyName, medFile, med_group_name, zUndef, im)
+