Hi Subramanya, Thanks for the quick reply! So, the cell batch id does change between different dof_handlers. I think that's a caveat worth mentioning in the tutorial.
Also, I'm curious about the partition algorithm, what is actually related to the cell partition, the Mesh, the FE, the partition_scheme (none/color/parallel *etc.*)? I didn't find the explicit initialization in `matrix_free.templates.h`. It should within the function `compute_dof_info`. Regards, Chengjiang Yin 在2025年1月24日星期五 UTC+8 00:30:15<subram...@gmail.com> 写道: > Hi ChengJiang , > Martin answered this same question, when I asked this recently. > > > https://groups.google.com/g/dealii/c/OWd7QsSSR18/m/q0j08zwLCQAJ?utm_medium=email&utm_source=footer > > Cheers, > Subramanya > > On Thursday, January 23, 2025 at 8:18:51 AM UTC-8 richard...@gmail.com > wrote: > >> Hi all, >> >> I'm now using MatrixFree to solve a multi-component problem. It contains >> a scalar and a vector and the equations couple to each other. >> >> I plan to use two DofHandler (FESystem + FE_Q) and two MatrixFree to >> split the variables and I'm wondering *if the cell batch ids are the >> same between these two MatrixFree?* To be more straightforward, does >> MatrixFree give out the same partition once the tria is given and is >> independent of the FE? >> >> If not, does this mean I can only use one MatrixFree but with multiple >> components? Is this better or with some extra optimization? >> >> Regards, >> Chengjiang Yin >> > -- 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 visit https://groups.google.com/d/msgid/dealii/0d322a29-f985-41ce-90e6-72e8ddee53b4n%40googlegroups.com.