Re: [deal.II] Re: How to solve a linear system with two RHS and a same matrix?

2017-01-19 Thread Jean-Paul Pelteret
Dear Pasha, No, this will not work. Because you send the DoFHandler into the function, it is expected that the solution vector contains as many entries as there are DoFs in the problem. This is why in step-44 the *entire* solution vector is copied from the BlockVector to the vector (of size

Re: [deal.II] Re: How to solve a linear system with two RHS and a same matrix?

2017-01-19 Thread amir . pasha . beh
Dear Jean-Paul I did not test the normal MPI::Vector directly, however, I have tried MPI::BlockVector.block(0) but this not work for me. I will search in the code to find the problem. Thank you for your time and consideration Pasha On Wednesday, January 18, 2017 at 4:59:44 PM UTC+3:30,