To clarify, the `test cases` I mention are not unit tests (or otherwise) testing the merging functionality but rather just application examples where a valid triangulation is broken down in 2 parts, 1 part is transformed and a new triangulation is made by merging the 2 parts.
~G On Thursday, July 24, 2025 at 2:23:34 PM UTC+2 Gordan Segon wrote: > Hi, > > Merging triangulations using GridGenerator::merge_triangulations has a > call to GridTools::consistently_order_cells(cells) before constructing the > triangulation. The implemented case is only for all cells being hypercubes. > Having a quick look at the implementation of `is_consistent()`, it is using > GeometryInfo which is specific to hyper_cubes like line_to_cell_vertices so > the same call would not work with triangles. > > Now, I use merge_triangulations for both quads and triangles, and both > work in my test cases. However, since in the case of a call to the function > with all-triangles Triangulation<>, the call > to GridTools::consistently_order_cells(cells) is simply skipped, is this > something that's missing that could cause issues down the line or perhaps > it is not needed in the first place? > > Best, > ~Gordan > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dealii/2ece2802-3145-4590-906f-5481b074cb21n%40googlegroups.com.
