Skip to content
Snippets Groups Projects
Oliver Sander's avatar
[!240] Allow number types as entries of matrix and vector types
Oliver Sander authored
Merge branch 'allow-blockvector-of-doubles' into 'master'

ref:core/dune-istl So, for example, you can write

    BlockVector<double>

instead of

    BlockVector<FieldVector<double,1> >

and it will do what you expect it to do. With this patch, any type for which
Dune::IsNumber<T>::value returns true will end the recursion.

See merge request [!240]

  [!240]: gitlab.dune-project.org/core/dune-istl/merge_requests/240
01e85838
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 istl classes.

More information

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