]> SALOME platform Git repositories - modules/hydrosolver.git/blob - src/salome_hydro/interpolz_b.template
Salome HOME
Merge branch 'BR_H2018_1' into TRUNK
[modules/hydrosolver.git] / src / salome_hydro / interpolz_b.template
1 # Z interpolation with HYDRO
2 from salome.hydrotools.interpolZ import interpolZ_B
3
4 # Bathymetry name in HYDRO
5 bathyName = <bathy_name_from_dlg>
6
7 # MED file 2D(x,y) of the case produced by SMESH
8 medFile = <MED_file_path_from_dlg>
9
10 # med group name
11 med_group_name = <MED_Group>
12
13 # Value to use for undefined Z (used to detect problems)
14 zUndef = <z_undef_value_from_dlg>
15
16 # Interpolation method
17 im = <interpolation_method>
18
19 # Z interpolation on the bathymetry on the mesh nodes of given group
20 statZ = interpolZ_B(bathyName, medFile, med_group_name, zUndef, im)
21