Closed vincentcasseau closed 3 weeks ago
It is very good! Can you add the new argument to function doc in Generator.rst? Thanks!
Hi @vincentcasseau , I know it is already merged, but I wanted to let you know that I have tested it on several cases and compared to what I would obtain with a geometrical identification of the new and old nodes, and it seems to work perfectly! Thank you for developing this functionality, it is going to be super useful :)
Alright, I'll update the doc now that it's approved! @frabasi: good to know, thanks! If there are other bottlenecks in your code, we could talk about it as it may benefit other tools as well.
Define an empty list,
indices
, and pass it in the form of a keyworded argument toG.close
orG._close
asindices
will contain the vertex indirection table following mesh cleaning. Ifindices
is set to None (or not passed), the vertex indirection table is not returned. This could be used to update boundary face indices post-cleaning without resorting toC.identifyNodes