Dear all, I found out that calling MGTransferBlockMatrixFree< dim, Number > ::clear sets the number of blocks to 0/ It is followed directly by build(dofs); will thow an exeption: Additional information: Dimension 0 not equal to 2. There is no way to set number of block properly other than using MGConstrainedDoFs <https://dealii.org/current/doxygen/deal.II/classMGConstrainedDoFs.html> . In case of DG where there are no constrains this requires creating dummy objects. Moreover the default contructor (without parameters) does not work (error in compilation - deleted function). Using it could be useful for DG. I would suggest: 1) adding constuctor with number of blocks 2) adding function that sets number of blocks
Best Michal -- 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/e7d391cb-5014-4dc7-83a7-b595ac7233ce%40googlegroups.com.