33#ifndef GKO_PUBLIC_CORE_SOLVER_SOLVER_TRAITS_HPP_
34#define GKO_PUBLIC_CORE_SOLVER_SOLVER_TRAITS_HPP_
37#include <ginkgo/core/base/std_extensions.hpp>
38#include <ginkgo/core/stop/criterion.hpp>
56template <
typename SolverType,
typename =
void>
66template <
typename SolverType>
68 SolverType, xstd::void_t<decltype(SolverType::build().with_criteria(
69 std::shared_ptr<const stop::CriterionFactory>()))>>
The Ginkgo namespace.
Definition abstract_factory.hpp:48
constexpr T one()
Returns the multiplicative identity for T.
Definition math.hpp:803
Helper structure to test if the Factory of SolverType has a function with_criteria.
Definition solver_traits.hpp:57