44 #ifndef IFPACK2_DETAILS_CHEBYSHEV_WEIGHTS_HPP
45 #define IFPACK2_DETAILS_CHEBYSHEV_WEIGHTS_HPP
49 #include "Teuchos_StandardParameterEntryValidators.hpp"
73 template<
typename ScalarType>
74 std::vector<ScalarType>
75 optimalWeightsImpl (
const int chebyOrder)
101 if (chebyOrder == 4){
110 if (chebyOrder == 5){
120 if (chebyOrder == 6){
131 if (chebyOrder == 7){
143 if (chebyOrder == 8){
156 if (chebyOrder == 9){
170 if (chebyOrder == 10){
185 if (chebyOrder == 11){
201 if (chebyOrder == 12){
218 if (chebyOrder == 13){
236 if (chebyOrder == 14){
255 if (chebyOrder == 15){
275 if (chebyOrder == 16){
297 true, std::runtime_error,
"Ifpack2::Details::optimalWeightsImpl::"
298 "Requested Chebyshev order exceeds maximum of 16."
305 #endif // IFPACK2_DETAILS_CHEBYSHEV_WEIGHTS_HPP
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)