On 2/14/22 08:50, Joss G. wrote:

I am having an error when running more than 1 core (with MPI) in a similar implementation to step-40 when using a component wise ordering: DoFRenumbering::component_wise(dof_handler) in the setup_syste() function.



Is ii possible to do what I am trying to do?

Yes, but then you also have to use block vectors and matrices. (You could also use parallel::distributed::Vector or TrilinosWrappers::Vector, just not PETScWrappers::Vector.) In general, if you want to renumber component wise, then it's because you want to block vectors and matrices based on the physical components of the solution vector.

Best
 W.


--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/

--
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/5d713731-f22d-6693-bb39-cb41b339adcf%40colostate.edu.

Reply via email to