[dune-pdelab] PDELab now depends on external library dune-typetree

Steffen Müthing steffen.muething at iwr.uni-heidelberg.de
Tue Aug 27 12:37:42 CEST 2013


Dear PDELab users and developers,

The TypeTree library that used to be part of PDELab and is used for the construction of GridFunctionSpace
trees and similar objects has been moved to an external Dune module because there will soon be some
additional users that do not want to depend on PDELab to use it.

As a consequence of this move, all TypeTree code has been removed from the master branch; instead, we
now depend on the new module dune-typetree.

Here is what you need to do to fix your installation and local modules:

- Download the new module dune-typetree from http://git.dune-project.org/repositories/dune-typetree.
  If you have an older compiler ( < GCC 4.4), you might want to switch to the releases/1.0 branch for that module
  because we will in the future remove some compatibility fixes from the development branch of that library.

- In your sources you may have to fix some includes and some namespaces:

  - grep for "dune/pdelab/common/typetree" to find any TypeTree headers you might have included. The headers
    have moved like this:
    - dune/pdelab/common/typetree/*.hh -> dune/typetree/*.hh
    - dune/pdelab/common/typetree.hh -> dune/typetree/typetree.hh

  - grep for "PDELab::TypeTree" and replace any occurrences with just "TypeTree" (the library now lives in the
    namespace Dune::TypeTree).

  That should resolve all problems. If you still run into issues, please let us know!

Alternatively, you can decide to stick with the internal TypeTree library for the time being. For that purpose, we
have tagged both dune-pdelab and dune-pdelab-howto with the tag 'pre-typetree-split'. So if you don't want to
bother with the fixes lined out above right now, you can temporarily switch to that tag. But please note that the
tag is really only a stop-gap measure; we will not backport *any* fixes to that codebase.

Please note that in most cases user code will have few if any direct dependencies on TypeTree and for the majority
of users the move should be pretty much transparent.

We apologize if this creates any additional work for you, but splitting off the library is really necessary.

Best,

Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20130827/f987e9ce/attachment.sig>


More information about the dune-pdelab mailing list