5#ifndef GKO_PUBLIC_CORE_SOLVER_SOLVER_TRAITS_HPP_
6#define GKO_PUBLIC_CORE_SOLVER_SOLVER_TRAITS_HPP_
9#include <ginkgo/core/base/std_extensions.hpp>
10#include <ginkgo/core/stop/criterion.hpp>
28template <
typename SolverType,
typename =
void>
38template <
typename SolverType>
40 SolverType, xstd::void_t<decltype(SolverType::build().with_criteria(
41 std::shared_ptr<const stop::CriterionFactory>()))>>
The Ginkgo namespace.
Definition abstract_factory.hpp:20
constexpr T one()
Returns the multiplicative identity for T.
Definition math.hpp:775
Helper structure to test if the Factory of SolverType has a function with_criteria.
Definition solver_traits.hpp:29