-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
taskforce: tpetraIssues related to the migration from Epetra to TpetraIssues related to the migration from Epetra to Tpetrateam: solverstype: enhancementA new feature or enhancement to be implementedA new feature or enhancement to be implemented
Milestone
Description
Description
Currently the iterative solver specifically relies on the fact that we inherit our SparseOperator from an Epetra_Operator implementing Apply() and ApplyInverse() for the block matrix implementation.
By switching the solver internals to Thyra and wrap them into the correct data structure should avoid this issue and should make it possible to cut the inheritance to Epetra_Operator. In addition it would simplify the construction of the linear solver with Stratimikos. If implemented correctly we should be able to switch to Tpetra without touching the linear solver internals at all.
Possible Solution and Definition of Done
- Delete the
epetra_operator()method - Provide a conversion utility functions for
SparseMatrix,BlockSparseMatrix,Map,MultiVectorand wrap the data types into the respectiveThyrabased type (see #[LinAlg] Cleanup of sparse matrix implementations #1525) - Refactor the preconditioner classes to hold a
Thyra::LinearOpas internal member instead of anEpetra_Operator- Use
ThyraforTekobased preconditioner - Use
ThyraforIfpackbased preconditioner (see [Ifpack] Move backend toStratimikos#766 [solver] MoveIfpackpreconditioner construction toStratimikos#1406) - Use
ThyraforMueLubased preconditioner (see [MueLu] Move backend toStratimikos#1401) - Use
ThyraforLinalgPrecondOperatorprojection (see [Solver] MoveLinalgPrecondOperatortoThyra#1642)
- Use
- Refactor the iterative solver to use
Thyrabased objects instead ofEpetraones (see [solver] Reworksetupandsolveinput arguments #1550 [MueLu] Move single field multigrid to Stratimikos #1572 [WIP] Move iterative solver interface and internals toThyra#1594)
Interested Parties
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
taskforce: tpetraIssues related to the migration from Epetra to TpetraIssues related to the migration from Epetra to Tpetrateam: solverstype: enhancementA new feature or enhancement to be implementedA new feature or enhancement to be implemented