speed up internal meshing

scenarios
Theophile Terraz 2025-10-14 09:41:51 +02:00
parent fb09cf254e
commit a42c46f4d2
1 changed files with 0 additions and 6 deletions

View File

@ -56,10 +56,8 @@ class InternalMeshing(AMeshingTool):
step)
for new_profiles2 in new_profiles:
print(f"purge...")
for p in new_profiles2:
p.hard_purge_aligned_points()
print(f"fin purge")
return new_profiles
@ -101,7 +99,6 @@ class InternalMeshing(AMeshingTool):
max_values_index[-1] = j
for i in range(len(max_values)):
print(f"compl_sect {i}...")
for isect in range(max_values_index[i], len(profiles)-1):
self.compl_sect(profiles[isect],
profiles[isect+1],
@ -110,7 +107,6 @@ class InternalMeshing(AMeshingTool):
self.compl_sect(profiles[isect+1],
profiles[isect],
gl1[i], gl2[i])
print(f"fin compl_sect {i}")
return profiles
def interpolate_transversal_step(self,
@ -126,7 +122,6 @@ class InternalMeshing(AMeshingTool):
new_profiles = []
for i in range(len(profiles)-1):
print(f"interpolate sect {i}...")
new_profiles2 = []
d = 1.0/float(np[i]+1)
for j in range(np[i]):
@ -150,7 +145,6 @@ class InternalMeshing(AMeshingTool):
profiles[i].rk)
p.name = f'interpol{p.rk}'
new_profiles2.append(p)
print(f"fin interpolate sect {i}")
new_profiles.append(new_profiles2)
return new_profiles