I appreciate the clarification. I thought that global indexing was no longer present as the solution vector is distributed.
I have one more doubt. I want to create a vector (H_vector) that stores some value for each Gauss point in the domain.
For a serial problem, I was doing something like this: H_vector = Vector<double> (8*(triangulation.n_active_cells()));
8 because the problem is in 3d, so I have 8 Gauss points per cell.
Now, for a MPI code, this H_vector would also be LA::MPI::Vector, and its size should be 8*no. of cells owned by the processor.
How do I get the no.of cells owned by the processor?
Thanks and regards
Wasim