10#ifndef IFPACK2_DETAILS_CHEBYSHEV_WEIGHTS_HPP
11#define IFPACK2_DETAILS_CHEBYSHEV_WEIGHTS_HPP
15#include "Teuchos_StandardParameterEntryValidators.hpp"
39 template<
typename ScalarType>
40 std::vector<ScalarType>
109 if (chebyOrder == 8){
122 if (chebyOrder == 9){
136 if (chebyOrder == 10){
151 if (chebyOrder == 11){
167 if (chebyOrder == 12){
184 if (chebyOrder == 13){
202 if (chebyOrder == 14){
221 if (chebyOrder == 15){
241 if (chebyOrder == 16){
262 TEUCHOS_TEST_FOR_EXCEPTION(
263 true, std::runtime_error,
"Ifpack2::Details::optimalWeightsImpl::"
264 "Requested Chebyshev order exceeds maximum of 16."
std::vector< ScalarType > optimalWeightsImpl(const int chebyOrder)
Generate optimal weights for using the fourth kind Chebyshev polynomials see: https://arxiv....
Definition Ifpack2_Details_Chebyshev_Weights.hpp:41
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:41