[Dune] Re: [Dune-CVS] CVS (robertk)

Oliver Sander sander at math.fu-berlin.de
Thu Jun 17 16:54:51 CEST 2004


Hallo Robert!
Ich versuche gerade, die Methoden für die Gitteradaption für UGGrid
zu schreiben.  Dabei verstehe ich nicht so ganz, was das Argument
der Methode entity<0>::mark machen soll.  Für UG ist das Markieren
für Verfeinerung eine Ja/Nein-Frage, und Vergröbern geht gar nicht
(ähem, stimmt das auch, Ihr Heidelberger?)
Weiterhin verstehe ich die Bedeutung von AdaptionState nicht so
ganz.  Da steht insbesondere 'enity was refined'.  Sollte das
eigentlich 'entity has been marked for future refinement' heissen,
oder soll man echt nach dem Verfeinern noch nachprüfen können,
ob ein Element kürzlich verfeinert wurde?

Viele Grüße,
Oliver

************************************************************************
* Oliver Sander                **                                      *
* Freie Universität Berlin     ** email: sander at math.fu-berlin.de      *
* Institut für Mathematik II   ** phone: + 49 (30) 838 75217           *
* Arnimallee 2-6               ** fax  : + 49 (30) 838 54977           *
* 14195 Berlin, Germany        ** URL  : www.math.fu-berlin.de/~sander *
************************************************************************

On Mon, 24 May 2004, Robert Klöfkorn wrote:

> Update of /var/lib/cvs/dune/grid
> In directory hal:/tmp/cvs-serv5434
>
> Modified Files:
> 	albertgrid.hh
> Log Message:
> Whats new:
>
> global_index:
>
> Added the global_index management for entity<codim=0>. Now each entity<0>
> the in AlbertGrid has an global unique index. We need this for adaptive
> grids were we only use the leafs. The global_index starts from 0 to
> global_size( codim ) .
>
> Each grid should have this global_index, because with that we can
> setup an mapping to consecutive indices on each level.
> For SGrid we dont have to setup such an mapping because its implicitly
> given.
>
> Adaptation:
>
> The Grid class has three adaptation methods, preAdapt() : bool which
> returns true if a leaast one entity<0> was marked for coarsening.
> adapt() : bool which returns true if a least one entity<0> was refined and
> postAdapt() : void.
>
> preAdapt is called before adapt in called and is an interface method to
> give the implementer of the grid interface some room for thing special to
> one grid. The method adapt adapts the grid( refinement and coarsening ).
> postAdapt is for the implementer to clean up some thing after the
> adaptation.
>
> On the class Entity<0> we have to methods, mark(int), which marks for
> coarsening or refinement and state () : AdaptationState where the user can
> get informations about the state on an Entity<0>.
>
> Parallelization:
>
> This is still test status. So far we the LevelIterator is improved for
> running over differrent marked entitie<0> ( Intertior, Ghosts ...)
> and on each entity we can get indformations about the owner and
> PartitionType.
>
>
>
>
> _______________________________________________
> Dune-CVS mailing list
> Dune-CVS at hal.iwr.uni-heidelberg.de
> http://hal.iwr.uni-heidelberg.de/cgi-bin/mailman/listinfo/dune-cvs
>




More information about the Dune mailing list