Classes | |
struct | AdditionalData |
Public Member Functions | |
void | initialize (const SparseMatrix &matrix, const AdditionalData &additional_data=AdditionalData()) |
Private Attributes | |
Teuchos::RCP < Ifpack_Preconditioner > | ifpack |
A wrapper class for a sparse direct LU decomposition on parallel blocks for Trilinos matrices. When run in serial, this corresponds to a direct solve on the matrix.
The AdditionalData data structure allows to set preconditioner options.
Note that a parallel applicatoin of the block direct solve preconditioner is actually a block-Jacobi preconditioner with block size equal to the local matrix size. Spoken more technically, this parallel operation is an additive Schwarz method with an exact solve as inner solver, based on the (outer) parallel partitioning.
void TrilinosWrappers::PreconditionBlockwiseDirect::initialize | ( | const SparseMatrix & | matrix, | |
const AdditionalData & | additional_data = AdditionalData() | |||
) |
Initialize function. Takes the matrix which is used to form the preconditioner, and additional flags if there are any.
Teuchos::RCP<Ifpack_Preconditioner> TrilinosWrappers::PreconditionBlockwiseDirect::ifpack [private] |
This is a pointer to the Ifpack data contained in this preconditioner.