Skip to content

[Libmesh-users] Problem with parallel execution of element loop #3086

Answered by jwpeterson
jwpeterson asked this question in Q&A
Discussion options

You must be logged in to vote

I think you are seeing the expected behavior since you are looping over "local" elements. The BoundaryInfo object is not shared by the processors... there is a separate copy of the BoundaryInfo object on each processor and each will contain only boundary info about local elements after running the loop above. The BoundaryInfo class also provides the

  void parallel_sync_side_ids();
  void parallel_sync_node_ids();

APIs for syncing this data across processors.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dan-lior
Comment options

@jwpeterson
Comment options

jwpeterson Nov 11, 2021
Maintainer Author

Answer selected by jwpeterson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants