[Dune] Significance of Parameters in grid communication method

Christian Engwer christi at uni-hd.de
Thu May 13 23:27:02 CEST 2010


Hi, you can find an introduction in section 9 of the grid-howto.

On Thu, May 13, 2010 at 10:58:10PM +0200, Jö Fahlke wrote:
> Am Thu, 13. May 2010, 19:40:06 +0200 schrieb Oswald Benedikt:
> > Dear Dune,
> > 
> > when using the communicate method of a grid (ALUGridSimplex(3,3) in my case)
> > I can choose between:
> > 
> > Dune::InteriorBorder_All_Interface

The Dune::InteriorBorder_All_Interface sends data associated with
Interior/Border entities to any process which has a copy of this
entity (Border, Overlap or Ghost).

> > 
> > and 
> > 
> > Dune::InteriorBorder_InteriorBorder_Interface

The Dune::InteriorBorder_InteriorBorder_Interface sends data
associated with Interior/Border entities to any process which 
has a this entity ans an Interior (impossible) or Border entity.

This means for example: if you communicate cell data, nothing
happens. If you communicate vertex data, the data of vertices on the
processor boundary is communicated.

Cheers Christian

> > 
> > what is the difference between the two ?
> 
> There should only be a difference if you have a grid with overlap (which I
> believe you don't have).  In the case of InteriorBorder_All_Interface,
> overlap entities on the receiving side may receive something, which in the
> case of InteriorBorder_InteriorBorder_Interface no overlap entities will
> receive anything.
> 
> I'm not sure about grids with a ghost layer, but I'd guess ghost cells are
> included in _All_ as well.
> 
> Bye,
> Jö.
> 



> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list