Hi Uwe,

I fixed the swap() routine today. Thanks for pointing me to the problem.

(The implementation was in source/lac/trilinos_vector_base.cc)

Best,
Timo

On Thu, Jun 21, 2012 at 7:19 AM, Uwe Köcher <[email protected]> wrote:
> All,
>
> I recently found out, that the swap-function on
> TrilinosWrappers::MPI::Vector are not working as expected
> (nothing happens).
>
> (PS. swapping of deal.II's vectors is running fine).
>
> This it not really a problem for me, because I only need to
> copy from one into another vector, so this solves the problem
> for me.
>
> But if there is an interface, it should work or should be
> removed. In the documentation there is a hint, that the
> swap function is only a friend.
> I can't find the implementation of the function VectorBase::swap,
> which is used in deal.II/include/lac/trilinos_vector_base.cc
> nor an fitting svn-test.
>
> Can someone help me where to find the implementation for the
> TrilinosWrappers::MPI::Vector swap function?
>
> PS: I'm using 7.2pre, checkout recently, of deal.II in combination
> with the recommended Trilinos 10.4.2.
>
> Best
>   Uwe
>
>
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii



-- 
Timo Heister
http://www.math.tamu.edu/~heister/
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to