[Dune] Initialization of BlockVector with C array or Eigen array

Tobias Ritschel tobiasritschel at gmail.com
Tue May 26 21:38:22 CEST 2015


Hi

I would like to use dune-istl to solve linear systems in a fully implicit
two-phase solver and I use Eigen to generate the Jacobi matrix and
right-hand-side. Is there a way to initialize a
BlockVector<FieldVector<double,1>> with a Eigen array or a C array without
copying?

I have been looking at block_vector_unmanaged and base_array_unmanaged but
I guess they're not for general use?

Kind regards
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150526/2fa6a0e8/attachment.htm>


More information about the Dune mailing list