[Trilinos-Users] how to extract solution from Belos::LinearProblem ... updateSolution() does not work as expected

Joachim Wuttke j.wuttke at fz-juelich.de
Sun Jun 18 09:48:45 EDT 2017


The code example in
   https://github.com/trilinos/Trilinos_tutorial/wiki/IfpackBelos2
tells me that Belos did converge,
but not what solution was found.

 From the Doxygen API documentation of Belos::LinearProblem
I figured I could extract the solution by
   const Teuchos::RCP<MV> sln = problem->updateSolution();
However, this does not work as I expected:
sln is a null vector.

What did I understand wrong?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5110 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170618/527fe44e/attachment.p7s>


More information about the Trilinos-Users mailing list