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
(see 
http://p4est.github.io/api/p8est__extended_8h.html#ad3a61dc2b4b5cc69b03c995f188bfd8d
 
)

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
























-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/60d8aaf5-5b6a-44b8-8dae-d4b937fef516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to