Thank you for your answer. I am trying to substitute my PETScWrappers::MPI::Vector for parallel::distributed::Vector (locally_relevant_solution and system_rhs) but my lac library does not contain the filee
*deal.II/lac/parallel_vector.h. *I even tried to get the latest version but is not there. Where can I find it? Thank you Regards El lunes, 14 de febrero de 2022 a las 17:36:26 UTC+1, Wolfgang Bangerth escribió: > 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: bang...@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/d5b1db67-2b24-4667-bb96-bfdc81cbf504n%40googlegroups.com.