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

CGAL: Add remesh_surface utility #13771

Merged
merged 1 commit into from Jun 13, 2022

Conversation

fdrmrc
Copy link
Contributor

@fdrmrc fdrmrc commented May 21, 2022

As the name says, this utility allows to remesh CGAL surfaces. The main purpose of this is to improve the quality of grids coming from boolean operations. As an example, one can start from doc/doxygen/images/boolean_union_hyper_spheres.png and get doc/doxygen/images/boolean_union_hyper_spheres_remeshed.png

@fdrmrc fdrmrc changed the title Add remesh_surface utility CGAL: Add remesh_surface utility May 21, 2022
@luca-heltai luca-heltai added this to In progress in CGAL Support via automation May 22, 2022
@luca-heltai
Copy link
Member

/rebuild

include/deal.II/cgal/utilities.h Show resolved Hide resolved
tests/cgal/cgal_surface_mesh_05.cc Outdated Show resolved Hide resolved
tests/cgal/cgal_surface_mesh_05.cc Show resolved Hide resolved
@fdrmrc fdrmrc force-pushed the cgal-Surface_remeshing branch 2 times, most recently from a9a9e28 to 9107a93 Compare May 22, 2022 22:52
@luca-heltai luca-heltai added this to the Release 9.4 milestone May 27, 2022
@drwells
Copy link
Member

drwells commented Jun 2, 2022

We are at the point where we need to focus on fixing bugs and not adding new features for 9.4. Can we push this back to 9.5?

@fdrmrc
Copy link
Contributor Author

fdrmrc commented Jun 4, 2022

I think this one is pretty safe, as the body of this function is taken verbatim from a CGAL example program. But of course I am totally fine with postponing this if you think it's better @drwells

@luca-heltai
Copy link
Member

@fdrmrc, can you replace the variadic argument also in this PR?

@fdrmrc fdrmrc force-pushed the cgal-Surface_remeshing branch 5 times, most recently from fd8afd4 to e594127 Compare June 11, 2022 10:08
Comment on lines 234 to 241
template <int dim>
void
implicit_function(Triangulation<dim, 3> & tria,
const Function<3> & implicit_function,
const CGALWrappers::AdditionalData<dim> &data =
CGALWrappers::AdditionalData<dim>{},
const Point<3> &interior_point = Point<3>(),
const double & outer_ball_radius = 1.0);
Copy link
Member

Choose a reason for hiding this comment

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

How is this function related to the intent of this PR? I also cannot find the definition of the function, so I assume this is spurious? I guess we should aim to calm down in adding new features from CGAL at this stage of the release cycle.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm really sorry, I lost it while rebasing. Haste makes waste. Now it's fixed.
According to CGALSupport this is the last CGAL-related PR for 9.4, but I'm fine with postponing it, as the last thing I want is to introduce bugs.

@tamiko
Copy link
Member

tamiko commented Jun 13, 2022

@luca-heltai @kronbichler I need a call on this pull request regarding the release 🙂

Copy link
Member

@kronbichler kronbichler left a comment

Choose a reason for hiding this comment

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

This looks good me now.

@kronbichler kronbichler merged commit d29b6d7 into dealii:master Jun 13, 2022
CGAL Support automation moved this from In progress to Done Jun 13, 2022
mkghadban pushed a commit to OpenFCST/dealii that referenced this pull request Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants