Hey everyone,
I am wondering, whether there is a deal.ii function, which balances a parallel::distributed::triangulation neighbouring elements by 2:1,
like the p8est_balance_ext function
Such a function might be useful after calling triagulation.execute_refinement_and_coarsening();
I think it mgiht be possible to proceed as in the p4est test programs and called
p4est_balance (triangulation, P4EST_CONNECT_FULL, NULL);
but I got the error message
cannot convert ‘dealii::parallel::distributed::Triangulation<3, 3>’ to ‘p4est_t* {aka p4est*}’ for argument ‘1’ to ‘void p4est_balance(p4est_t*, p4est_connect_type_t, p4est_init_t)’
p4est_balance (triangulation, P4EST_CONNECT_FULL, NULL);
which is obvious because the p::d::triangulation is not a p4est*
Does someone have an idea how to fix this or how to balance the triangulation?
Best regards
Gabriel