Authentication method changed. UCLouvain users, please use the "UCLouvain SSO" button to connect on the website and use ssh + ssh key (https://git.immc.ucl.ac.be/-/profile/keys) or https + personnal access token (https://git.immc.ucl.ac.be/-/profile/personal_access_tokens) 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=
#print(count,emax)
if emax < .2 :
break
for i in range(1,len(prepro._node_map)):
if prepro._node_map[i] > n:
n = prepro._node_map[i]
n+=1
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