[Dune] How to map intersections?

Carsten Graeser graeser at math.fu-berlin.de
Thu Mar 26 22:34:24 CET 2009


Hi Dragan

The method proposed by Oliver taking also the codim as argument is brand new (<2weeks)
in the svn trunk. It's currently implemented for OneDGrid, UGGrid and AlbertaGrid
and will also be implemented for other grids. If you use an older version of dune
or need a grid that does not implement it currently you can use the 'old' style
method taking two arguments and the codim as template argument.

Carsten

Dragan Vidovic schrieb:

> There is no map method with three arguments in my mcmgmapper.hh. I
> took it from svn some two weeks ago. There are only two map methods
> there - with one and with two arguments, unlike what's found in
> http://www.dune-project.org/doc/doxygen/dune-grid-html/mcmgmapper_8hh-source.html.
> 
> I've done what you suggested and I've got the following compiler message:
> 
> multiplicativeOperator.hh:142: error: no matching function for call to
> ‘Dune::LeafMultipleCodimMultipleGeomTypeMapper<Dune::ALUSimplexGrid<3,
> 3>, P1Layout>::map(Dune::Entity<0, 3, const Dune::ALU3dGrid<3, 3,
> tetra>, Dune::ALU3dGridEntity>&, int&, int)’
> 
> If I use only one argument then it compiles, but if I use three
> arguments then it doesn't.

-- 
----------------------------------------------------------------------
Carsten Gräser           | phone: +49-30 / 838-75349
Freie Universität Berlin | fax  : +49-30 / 838-54977
Institut für Mathematik  | email: graeser at math.fu-berlin.de
Arnimallee 6             |
14195 Berlin, Germany    | URL  : http://page.mi.fu-berlin.de/graeser
----------------------------------------------------------------------




More information about the Dune mailing list