[Trilinos-Users] Epetra_Operator as Stratimikos preconditioner

Bartlett, Roscoe A. bartlettra at ornl.gov
Wed Jun 3 10:20:34 EDT 2015


Nico,

That use case should be supported.

You start wrapping it as a Thyra::LinearOpBase object (using Thyra::EpetraLinearOp) using the function Thyra::epetraLinearOp() [1].  You then then pass it in the function Thyra::initializePreconditionedOp<Scalar>() [2] to initialize the Thyra::LinearOpWithSolveBase object.

See this use case example:

    http://trilinos.org/docs/dev/packages/thyra/doc/html/classThyra_1_1LinearOpWithSolveFactoryBase.html#LOWSFB_external_prec_op_sec

Let me know if you have questions about this.

-Ross

[1] http://trilinos.org/docs/dev/packages/thyra/doc/html/classThyra_1_1EpetraLinearOp.html#a92e973af4751c968e07d525f1efb54e6
[2] http://trilinos.org/docs/dev/packages/thyra/doc/html/classThyra_1_1LinearOpWithSolveFactoryBase.html#a72f4abc79f473e0b41c0c6971d64a795





From: Trilinos-Users [mailto:trilinos-users-bounces at trilinos.org] On Behalf Of Nico Schlömer
Sent: Wednesday, June 03, 2015 9:24 AM
To: trilinos-users at trilinos.org
Subject: [Trilinos-Users] Epetra_Operator as Stratimikos preconditioner

Hi,

I'd like to use an Epetra_Operator (which I could wrap as Thyra::LinearOpBase) as a preconditioner for a Thyra::LinearOpWithSolveFactoryBase.
How can I do that?

Cheers,
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20150603/776388a9/attachment.html>


More information about the Trilinos-Users mailing list