[Trilinos-Users] AztecOO residual vector

Danielle Catherine Maddix dcmaddix at stanford.edu
Mon Feb 1 10:09:45 EST 2016


Hi,


Thank you for the response! I actually would just need the residual norm.  I see that there is AztecOO_StatusTestResNorm<https://trilinos.org/docs/r12.4/packages/aztecoo/doc/html/classAztecOO__StatusTestResNorm.html>, but it's constructor takes Epetra_Vector<https://trilinos.org/docs/r12.4/packages/epetra/doc/html/classEpetra__Vector.html>, where I am using Epetra_FEVector<https://trilinos.org/docs/r12.4/packages/epetra/doc/html/classEpetra__Vector.html> to solve my finite element problem.  Did you use this object or just define your own AztecOO_StatusTest? I am concerned that outputting the residual vectors for gmres will be a slowdown.


Thanks,

Danielle

AztecOO_StatusTestResNorm::AztecOO_StatusTestResNorm    (       const Epetra_Operator<https://trilinos.org/docs/r12.4/packages/epetra/doc/html/classEpetra__Operator.html> &    Operator,
                const Epetra_Vector<https://trilinos.org/docs/r12.4/packages/epetra/doc/html/classEpetra__Vector.html> &        LHS,
                const Epetra_Vector<https://trilinos.org/docs/r12.4/packages/epetra/doc/html/classEpetra__Vector.html> &        RHS,
                double  Tolerance
        )

________________________________
From: Duk-Soon Oh <duksoon at cims.nyu.edu>
Sent: Sunday, January 31, 2016 2:03 PM
To: Danielle Catherine Maddix
Subject: Re: [Trilinos-Users] AztecOO residual vector

Hi,

I had a similar issue previously. Please take a look at the AztecOO_StatusTest object. You may need to define your own AztecOO_StatusTest object to access the intermediate residual vectors. I hope it would be helpful.

Best,

Duk-Soon


On Sun, Jan 31, 2016 at 11:31 AM, Danielle Catherine Maddix <dcmaddix at stanford.edu<mailto:dcmaddix at stanford.edu>> wrote:

Hello,


I was wondering if it would be possible to access the residual vector at each iteration of the AztecOO linear solver.  I know that it returns the final residual.  I want to pass back to our in house finite element code the ratio of the final residual and the residual at the beginning of the last restart iteration in gmres.


Thank you,

Danielle Maddix

_______________________________________________
Trilinos-Users mailing list
Trilinos-Users at trilinos.org<mailto:Trilinos-Users at trilinos.org>
https://trilinos.org/mailman/listinfo/trilinos-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160201/75762f7c/attachment.html>


More information about the Trilinos-Users mailing list