[Dune-devel] YaspGrid has new features!

Christian Engwer christian.engwer at uni-muenster.de
Wed Aug 13 21:09:06 CEST 2014


Dear Dominic,

this great news :-)

Thanks for the whole work. This make YaspGrid actually complete.

One small bother me though... You squashed all changes into one single
commit. This make it hard to follow what you did. Do think you could
push the individual commits?1

Ciao
Christian

On Wed, Aug 13, 2014 at 04:59:28PM +0200, Dominic Kempf wrote:
> Dear DUNE!
> 
> I have finished my work on YaspGrid. You find it here:
> http://cgit.dune-project.org/repositories/dune-grid/commit/?h=feature/all-entities-yaspgrid&id=1fd2a101abc8cac9237c74b386e07748ab0e7088
> 
> To describe the changes, I quote the commit message:
> 
> This is a major rewrite of Dune::YaspGrid. It now
> - has full entities of all codimensions
> - communicates on all these codimensions
> - works for arbitrary dimension (again)
> 
> Of course, these new features come at a price. The performance
> implications in comparison to the old code have been measured.
> Iterating over the grid and computing indices and subindices got a bit
> slower (to a maximum of 20%). However, these operations are still
> really (!) fast.
> 
> Here are some implications for the implementation (not of interest for users):
> - The former YGrid is now called YGridComponent. All entities that
> belong to one such component share the same "shift" (the set of
> spanning unity vectors). For codim 0 and dim, there was only one
> component describing a codimension, in general this is dim choose
> codim.
> - A YGrid is a collection of YGridComponent. A YGrid describes the
> parts of a grid given by partition type and a codimension. It offers
> iterators to iterate over the multiple components. YGridList does the
> same thing for send and receive lists.
> - Yasp handles codimensions generically now. The former data
> structures {cell,vertex}_{...} are replaced by arrays of size dim + 1
> of {...}.
> - The entity implementation provides a generic implementation of the
> index methods according to the new generic reference elements.
> - A namespace Yasp is introduced and used to hide away some free
> functions from the user.
> - YaspGeometry now handles the bitsets required by
> AxisAlignedCubeGeometry directly.
> 
> The incode and doxygen documentation of the rewritten code was
> improved whenever it seemed necessary.
> 
> If you have any questions regarding these changes, please contact me.
> 
> Best,
> Dominic
> 
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
> 

-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune-devel mailing list