Replies: 2 comments 8 replies
-
If you're manually modifying a distributed mesh, you'll have to keep it in sync manually too. Deleting an element would have to be done on every rank where it's ghosted, not just on the owner (and definitely not just on rank 0 if that's not the owner). How to best do that is a different question. Assuming you don't have any a priori way to tell which elements need deletion on every processor, you may be stuck doing a |
Beta Was this translation helpful? Give feedback.
-
Hi !
(l.1698 of mesh_tools.C), called by prepare for use in debug mode. What could I do to avoid this problem? Best regards, Florence |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I am trying to modify a distributed mesh (that I have built manually and that is already "prepared for use") by deleting one cell on one specific MPI proc (MPI proc 0 in my test). Thus I used the
delete_elem()
method on MPI rank 0, but then, my test crashes when callingprepare_for_use()
.Has anyone an idea about this problem and how to delete (or create) cells properly?
Thank you in advance!
F.D.
Beta Was this translation helpful? Give feedback.
All reactions