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
fix for latest deal.II master: support cell_weight #5251
fix for latest deal.II master: support cell_weight #5251
Conversation
needs to go into 2.5 |
#if DEAL_II_VERSION_GTE(9,6,0) | ||
unsigned int | ||
cell_weight(const typename parallel::distributed::Triangulation<dim>::cell_iterator &cell, | ||
const CellStatus status); |
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.
mhm This is less than ideal. I think we could meaningfully alleviate the issue by providing a deprecated using declaration within our Triangulation
classes in deal.II. Would that help?
case CellStatus::children_will_be_coarsened: | ||
for (const auto &child : cell->child_iterators()) | ||
n_particles_in_cell += particle_handler->n_particles_in_cell(child); | ||
break; |
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.
Same here. I don't think it would hurt to make the names available again via using declarations or similar trickery.
It's still necessary to avoid deprecation warnings. |
[2.5] take over #5251: fix for latest deal.II master: support cell_weight
No description provided.