Skip to content
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

Merged
merged 8 commits into from
Sep 10, 2018

Conversation

endJunction
Copy link
Member

No description provided.

@endJunction
Copy link
Member Author

@bilke Jenkins docker-conan failed again with

wrapper script does not seem to be touching the log file in /h/j/...@tmp/durable-87482286
(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)

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 +
Copy link
Member

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]];
}
Copy link
Member

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?

@endJunction endJunction force-pushed the PartitionBoundaryMeshesProperties branch 2 times, most recently from 19e9f26 to bbb4dfb Compare August 31, 2018 15:44
@endJunction
Copy link
Member Author

@wenqing Maybe you want to have a look before I merge it (let's say on Wednesday).

Copy link
Member

@wenqing wenqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@endJunction endJunction force-pushed the PartitionBoundaryMeshesProperties branch from bbb4dfb to 22548c4 Compare September 10, 2018 16:44
@endJunction endJunction merged commit 44bc9dd into ufz:master Sep 10, 2018
@endJunction endJunction deleted the PartitionBoundaryMeshesProperties branch September 10, 2018 19:55
@ogsbot
Copy link
Member

ogsbot commented Jun 19, 2020

OpenGeoSys development has been moved to GitLab.

See this pull request on GitLab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants