Yuesu, On Thursday, August 6, 2020 at 12:08:58 AM UTC-4, yuesu jin wrote: > > Dear all, > I have a question about DoFRenumbering::subdomain_wise(dof_handler). In > step-17 tutorial for example, this function doesn't use the argument of > n_mpi_processes, how does it know how many subdomains it should divide the > dofs into? >
The DoFHandler has access to the Triangulation which knows this information because we call GridTools::partition_triangulation() before we call DoFRenumbering::subdomain_wise(). Best, Bruno -- 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/a35c718d-3d54-49a9-98de-643ef6e7f4a9o%40googlegroups.com.