[dune-pdelab] Backend interfaces
Steffen Müthing
steffen.muething at iwr.uni-heidelberg.de
Wed May 7 13:43:17 CEST 2014
Hi Christian,
Am 06.05.2014 um 20:57 schrieb Christian Engwer <christian.engwer at uni-muenster.de>:
> Dear all,
>
> I'm again working on backends... this time I tried to reactive the
> Eigen backend. In the last revision of the Backend interfaces the
> vector got iterators. Steffen could you please elaborate on these? Are
> they really required? The thing is that Eigen does not actually
> provide Iterators. We can use raw pointers, but in any case I'm
> wondering why we need the iterators.
The vectors were requested quite a lot here in Heidelberg as an easy way to traverse
the flattened set of DOFs contained in a vector. In particular, they allow you to simply
iterate over single DOFs even if the actual vector is blocked in some way (maybe even
several levels deep).
They are really useful for printing out / reading in vectors and scalar operations on the
individual entries.
Steffen
>
> Ciao
> Christian
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
More information about the dune-pdelab
mailing list