Re: [deal.II] getting norm of a ghosted vector in the distributed adaptive refinement code

2017-12-08 Thread Wolfgang Bangerth
On 12/08/2017 09:14 AM, Marek Čapek wrote: An error occurred in line <1099> of file in function     dealii::IndexSet dealii::TrilinosWrappers::VectorBase::locally_owned_elements() const The violated condition was:     owned_elements

Re: [deal.II] getting norm of a ghosted vector in the distributed adaptive refinement code

2017-12-08 Thread gandalfhaha
I have noticed, that orderings of operations in https://www.dealii.org/8.5.0/doxygen/deal.II/step_15.html#MinimalSurfaceProblemrefine_mesh and in https://www.dealii.org/8.5.0/doxygen/deal.II/step_15.html#MinimalSurfaceProblemrefine_mesh is different, namely In the formerdistribute_dofs, in

[deal.II] getting norm of a ghosted vector in the distributed adaptive refinement code

2017-12-08 Thread Marek Čapek
Hello, I develop distributed code like in step-40 and with the adaptive mesh refinement like in step-42. I was using ghosted Trilinos MPI vectors like LA::MPI::Vector solution_vel_n; initialized by solution_vel_n.reinit (locally_owned_dofs_vel, locally_relevant_dofs_ve