-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Partition boundary meshes properties #2195
Partition boundary meshes properties #2195
Conversation
@bilke Jenkins docker-conan failed again with
|
auto const n_local_ghost_elements = local_ghost_elements.size(); | ||
for (std::size_t e = 0; e < n_local_ghost_elements; ++e) | ||
{ | ||
bulk_element_ids[offset + n_local_regular_elements + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could update the offset before the for-loop: offset += n_local_regular_elements;
and write here and in line 597 only offset + e
.
bulk_element_ids[offset + n_local_regular_elements + | ||
e] = global_to_local | ||
[bulk_element_ids[offset + n_local_regular_elements + e]]; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The loops for the regular and the ghost elements look very similar. Maybe a lambda can be called twice?
@wenqing Maybe you want to have a look before I merge it (let's say on Wednesday). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
OpenGeoSys development has been moved to GitLab. |
No description provided.