Authentication method changed. UCLouvain users, please use the "UCLouvain SSO" button to connect on the website and use ssh + ssh key ( or https + personnal access token ( in your git clients.

Commit 8937fd61 authored by Valentin Vallaeys's avatar Valentin Vallaeys
Browse files

slimInputWrite : fix for smooth bathy, case of deleted elements

parent 73e6716f
......@@ -325,6 +325,10 @@ def smooth_bathymetry(mesh_file_name, bathymetry, output_file_name, coefficient=
if emax < .2 :
for i in range(1,len(prepro._node_map)):
if prepro._node_map[i] > n:
n = prepro._node_map[i]
data_ordered = np.ndarray((n),"d")
for ig in range(groups.getNbElementGroups()) :
g = groups.getElementGroup(ig)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment