Skip to content
Snippets Groups Projects
Ansgar Burchardt's avatar
Ansgar Burchardt authored
Merge branch 'feature/fix-uggrid-subindex' into 'master'

Fix subIndex method for UGGrid

When using Hygrid::ifElse always keep in mind that some types in
the functions given as "if" and "else" branch are fixed, such that
compilation may fail altough the template is not instanciated.

To avoid this, those functions have one templated parameter which
is instanciated with the identity for the selected branch. Passing
objects through this branch will delay resolution of their type
until instantiation which does only happen for the selected branch.

By passing the entity through `id` we use this to make subIndex
compile for clang. It seems that gcc is less picky here.

See merge request !101

See merge request !106
bbd9d1bc
History

DUNE-library

DUNE, the Distributed and Unified Numerics Environment is a modular toolbox for solving partial differential equations with grid-based methods.

The main intention is to create slim interfaces allowing an efficient use of legacy and/or new libraries. Using C++ techniques DUNE allows to use very different implementation of the same concept (i.e. grid, solver, ...) under a common interface with a very low overhead.

DUNE was designed with flexibility in mind. It supports easy discretization using methods, like Finite Elements, Finite Volume and also Finite Differences. Through separation of data structures DUNE allows fast Linear Algebra like provided in the ISTL module, or usage of external libraries like blas.

This package contains the basic DUNE grid classes.

More information

Check dune-common for more details concerning dependencies, known bugs, license and installation.