[Trilinos-Users] design new preconditioner

Heroux, Michael A maherou at sandia.gov
Thu Jan 3 15:16:13 MST 2013

Giang Bui,

Sorry for the very late reply.  I took an extended vacation and am just coming back up to speed now.

I have attached a class I wrote for an application called Tramonto some years ago.  It provides a Schur complement operator implementation that is fairly general.  I think you could find it very useful as a starting point.  Since it implements the Epetra_Operator interface itself, it can be used as the linear operator for any Trilinos linear solver.  This class also has some useful auxiliary functionality that you might helpful.


From: Hoang Giang Bui <hgbk2008 at gmail.com<mailto:hgbk2008 at gmail.com>>
Date: Thursday, December 20, 2012 4:19 AM
To: "trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>" <trilinos-users at software.sandia.gov<mailto:trilinos-users at software.sandia.gov>>
Subject: [EXTERNAL] [Trilinos-Users] design new preconditioner


I want to design a custom preconditioner for my problem using trilinos. For a little bit more detail, my matrix is of type 2x2 block and I want to precond the (1,1) block and its Schur complement's approximation. What I can see now is to subclass the Epetra_Operator and implement method ApplyInverse. Is there a better way to combine existing preconditioners in trilinos to form a new preconditioner? Or is there another interface could support to do so ?

Giang Bui

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20130103/e62a2e2a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dft_Schur_Epetra_Operator.cpp
Type: application/octet-stream
Size: 9154 bytes
Desc: dft_Schur_Epetra_Operator.cpp
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20130103/e62a2e2a/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dft_Schur_Epetra_Operator.hpp
Type: application/octet-stream
Size: 5602 bytes
Desc: dft_Schur_Epetra_Operator.hpp
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20130103/e62a2e2a/attachment-0001.obj 

More information about the Trilinos-Users mailing list