[Trilinos-Users] semantics of Tpetra::MultiVector::offsetView changed?

Jonas.Thies at dlr.de Jonas.Thies at dlr.de
Tue Nov 24 10:33:07 EST 2015


I’m finally taking the time to port some stuff from Trilinos 11.12 to 12.2.1 and noticed a change in behavior
Of the Tpetra MultiVectors’ offsetView function when creating “nested views”.

1.       Given a vector V1, I create a view V2 with offset imin1 (works fine in both versions)

2.       then I create a view V3 with offset imin2 of V2

In Trilinos 11.12 V3 will view rows starting at imin1+imin2 of the original V1, whereas in Trilinos 12.2.1 it seems to give
a view with offset imin2 of the original data. I think the older version is correct, or did the semantics indeed change?


German Aerospace Center. (DLR)
Simulation and Software Technology | Linder Höhe | 51147 Cologne | Germany

Jonas Thies
Telephone +49-2203-601-4145 | Telefax +49-2203-601-3070 | jonas.thies at dlr.de<mailto:jonas.thies at dlr.de>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20151124/6450aa9d/attachment.html>

More information about the Trilinos-Users mailing list