Ginkgo  Generated from pipelines/2969282958 branch based on develop. Ginkgo version 2.0.0
A numerical linear algebra library targeting many-core architectures
Static Public Attributes | List of all members
gko::solver::nullspace_traits< Solver > Struct Template Reference

Traits describing how an iterative solver handles the nullspaces given by the nullspace and left_nullspace factory parameters. More...

#include <ginkgo/core/solver/solver_base.hpp>

Static Public Attributes

static constexpr bool is_supported = false
 Whether the solver removes the nullspaces. More...
 
static constexpr bool requires_hermitian = false
 Whether the solver requires a Hermitian system matrix. More...
 
static constexpr bool two_sided_projection = false
 Whether the solver needs the two-sided projection \( P M Q \) of its preconditioner \( M \), which is symmetric for symmetric problems (e.g. More...
 

Detailed Description

template<typename Solver>
struct gko::solver::nullspace_traits< Solver >

Traits describing how an iterative solver handles the nullspaces given by the nullspace and left_nullspace factory parameters.

Solvers that support them specialize this class.

Template Parameters
Solverthe solver type

Member Data Documentation

◆ is_supported

template<typename Solver >
constexpr bool gko::solver::nullspace_traits< Solver >::is_supported = false
staticconstexpr

Whether the solver removes the nullspaces.

Other solvers throw NotSupported when a nullspace is set instead of ignoring it.

◆ requires_hermitian

template<typename Solver >
constexpr bool gko::solver::nullspace_traits< Solver >::requires_hermitian = false
staticconstexpr

Whether the solver requires a Hermitian system matrix.

Then the left and right nullspace coincide, so setting either sets both.

◆ two_sided_projection

template<typename Solver >
constexpr bool gko::solver::nullspace_traits< Solver >::two_sided_projection = false
staticconstexpr

Whether the solver needs the two-sided projection \( P M Q \) of its preconditioner \( M \), which is symmetric for symmetric problems (e.g.

for Minres). Otherwise, only the output of the preconditioner is projected, \( P M \).


The documentation for this struct was generated from the following file: