On 4/20/21 1:58 PM, mohammadreza yaghoobi wrote:
>
> The ideal case would be each processor just handling their own part and some
> reduction happened throughout the processors.
Reza -- the parallel::distributed::Triangulation class was written under the
assumption that storing artificial cells is not expensive, which in practice
boils down to the assumption that the mesh is refined globally or adaptively
sufficiently many times and/or that the coarse mesh is relatively small. In
your case, your coarse mesh has 20M cells, and that is a case that the p::d::T
class simply was not designed for.
But, the good news is that that there is a different class,
parallel::fullydistributed::Triangulation, that is meant for this kind of
case. This class is meant to be used for meshes where the coarse mesh is so
large that it can not be replicated on all processes. (I don't recall right
now whether it allows mesh refinement in its current state, though.)
There is currently no tutorial program that illustrates its use, but maybe you
can gather enough information from what exists in the class documentation and
what you can find in the test suite. Feel free to also ask on the mailing list
if you have questions about this class!
Best
Wolfgang
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/