[deal.II] Separated domains in load balanding

2020-09-14 Thread shahab.g...@gmail.com
Dear all, I am using load balancing and I noticed after load balancing, that the cells owned by each processor are sometimes separated from each other. In other words, some processors may own cell domains that are not connected to each other. As this increases the computational cost in my case,

[deal.II] Re: Initialization of PETSc::MPI::BlockSparseMatrix

2020-09-14 Thread Timo Heister
Hi, I don't quite understand your reasoning for a block with 0 DoFs. Try removing any rows/columns from your block sparsity pattern and from your IndexSet's that have size 0. Notice that the number of blocks is independent of the number of components in your FEM. Can you post the values for

[deal.II] Initialization of PETSc::MPI::BlockSparseMatrix

2020-09-14 Thread Gabriel Stankiewicz
Dear deal.II Users, I am trying to setup an eigenvalue problem of a piezoelectric bimorph cantilever, in which I need to use a distributed block sparse matrix. My problem contains displacement and electric potential degrees of freedom. Because of that, I get 0 entries in the mass matrix that