On 02/13/2013 03:43 PM, Vinetou Incucuna wrote:
> Hello Guido,
> thank you for Your answer.
> So I would have to call
>
> GridTools::partition_triangulation ( n_mpi_processes, triangulation);
>
> thank create iterators, one for each partition.
> So I would get array, or list, or vector of iterators index by 0-
> (n_mpi_processes-1)
>
> With this iterators I would than call somethin like
> MeshWorker::loop(it[current_process].begin(),it[current_process].end())
That's not the right approach. Take a look at how step-32 uses iterator
ranges when calling WorkStream.
> Is there not a problem with the fact that in DGM cells on the boundaries
> of partitions require for computations information from cells in other
> partition?
Yes. There was a thread on a similar topic on this mailing list a while
back. Take a look at the archives.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@math.tamu.edu
www:
http://www.math.tamu.edu/~bangerth/