Provides infrastructure for the coupling of two unrelated Dune grids.

dune-common dune-geometry dune-grid
Git repository:


The dune-grid-glue module provides infrastructure for the coupling of two unrelated Dune grids. The coupling may be overlapping or nonoverlapping, conforming or nonconforming. The two grids are not requested to be of the same type, and they may even be of different dimensions. Here are a few possible scenarios:

Couplings are described as sets of remote intersections. Conceptually, these remote intersections are very close to what the regular intersections in the Dune grid interface are, with the difference that the inside and outside entities are taken from different grids. You can iterate over the global set of remote intersections or over the ones pertaining to a given element.

For our domain decomposition infrastructure we have tried to follow the Dune philosophy:

  • We propose abstract interfaces to general grid coupling mechanisms, allowing to implement most existing domain decomposition algorithms.
  • We allow and encourage the use of existing coupling implementations as legacy backends.
  • We strive to make the code efficient, using generic programming where appropriate.

The actual computation of the remote intersections is handled by exchangeable backends. Currently, three backends are available:

  • OverlappingMerge: For overlapping couplings in 1d, 2d, and 3d
  • ContactMerge: For nonoverlapping couplings, including contact problems, where there is a positive distance between the two contact boundaries.
  • ConformingMerge: A fast implementation for conforming nonoverlapping couplings.

All three backends are based on the optimal-time advancing front algorithm by Martin Gander and Caroline Japhet.


version source signature
2.5.0 dune-grid-glue-2.5.0.tar.gz dune-grid-glue-2.5.0.tar.gz.asc

The current development version can be obtained via Git:

git clone https://gitlab.dune-project.org/extensions/dune-grid-glue.git

dune-grid-glue is also available in Debian, and possibly in other Linux distributions.

Publications and Documentation

The concepts of dune-grid-glue are presented in the following publication:

There is also a class-documentation created by doxygen:


dune-grid-glue has been written by Christian Engwer and Oliver Sander, based on work by Gerrit Buse. Lots of help has come from Ansgar Burchardt, Katja Hanowski, and Jonathan Youett.

Creative Commons License   |  Legal Statements / Impressum  |  generated with Hugo v0.26 (Sep 19, 17:31, 2017)