Struct SurrogatePreconditioner

Struct Documentation

struct SurrogatePreconditioner

One positive surrogate and inverse shared by the complex components.

Public Types

using Matrix = ImmersXLA::MPI::SparseMatrix
using Operator = dealii::LinearOperator<ImmersXLA::MPI::Vector>

Public Functions

inline std::shared_ptr<Matrix> matrix() const
inline Operator get(const Matrix &physical_matrix)

Public Members

std::function<std::shared_ptr<Matrix>()> make_matrix
std::function<Operator(std::shared_ptr<Matrix>, const Matrix&)> make_inverse
std::vector<std::function<void(Matrix&)>> additions
std::optional<Operator> inverse