[deal.II] How to sum up several LinearAlgebraPETSc::MPI::Vector completely_distributed_solution ?

2019-08-01 Thread Phạm Ngọc Kiên
Dear colleagues, I am trying to solve my problem with different right_hand_sides. For each right hand side, we can solve by the codes: LinearAlgebraPETSc::MPI::Vector completely_distributed_solution(locally_owned_dofs, mpi_communicator); SolverControl solver_control;

Re: [deal.II] Number of Lines in the Deal.ii Library

2019-08-01 Thread 'Jason Nicholson' via deal.II User Group
Hopefully, this is a better breakdown. Let me know what you think. I analyzed a commit from yesterday, 2019-July-31. The hash is below. jnicholson@jhnpc001:~/dealii$ git rev-parse HEAD fa944d20aa6570ce023d3b272bb0bf2016db0512 Folders in the dealii base directory:

Re: [deal.II] Step 31: Preconditioner correspondence

2019-08-01 Thread Franco Milicchio
> Preconditioner design is hard -- which is why I've recorded 4 or so > lectures on the topic ;-) > > Thanks for your answer, Wolfgang, and I sure appreciate all the lectures! Cheers! Franco -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see

Re: [deal.II] Re: MGTransferMatrixFree<> interpolate_to_mg() fails with segfault, when compiled in release mode

2019-08-01 Thread 'Maxi Miller' via deal.II User Group
Found my mistake, I forgot to call mg_transfer.build(dof_handler); before doing anything with it. Am Donnerstag, 1. August 2019 09:02:15 UTC+2 schrieb Maxi Miller: > > Hei, > the program crashes in release mode way before it crashes in debug mode. > The code shown is completely from the

Re: [deal.II] Re: MGTransferMatrixFree<> interpolate_to_mg() fails with segfault, when compiled in release mode

2019-08-01 Thread 'Maxi Miller' via deal.II User Group
Hei, the program crashes in release mode way before it crashes in debug mode. The code shown is completely from the deal.II-library, with some added std::cout<<-lines. The only code written by myself is in main.cc, but the crash happens in the code from the library. Am Donnerstag, 1. August