Re: [deal.II] An error occurred in line <1467> of file in function dealii::IndexSet dealii::TrilinosWrappers::MPI::Vector::locally_owned_elements() const

2023-10-11 Thread Daniel Arndt
Yi, How are you initializing your TrilinosWrappers::MPI::BlockVector? It looks like you are calling the constructor with only one std::vector but some of the index sets are overlapping. You should use the constructor taking two std::vector objects with the first one containing the locally owned

[deal.II] An error occurred in line <1467> of file in function dealii::IndexSet dealii::TrilinosWrappers::MPI::Vector::locally_owned_elements() const

2023-10-10 Thread Tiny Y
Hi al, I am a freshman in dealii. I have installed Dealii 9.4.2 on 22.04. The senior wrote code on the old version of dealii, so I made changes to his code to adapt to the new version of dealii, but I encountered some problems. The function(locally_owned_elements()) where the error code is