Ifpack2 Templated Preconditioning Package Version 1.0
Loading...
Searching...
No Matches
Namespaces | Functions
Ifpack2_Details_Chebyshev_Weights.hpp File Reference

Definition of Chebyshev implementation. More...

#include <stdexcept>
#include <vector>
#include "Teuchos_StandardParameterEntryValidators.hpp"

Go to the source code of this file.

Namespaces

namespace  Ifpack2
 Preconditioners and smoothers for Tpetra sparse matrices.
 

Functions

template<typename ScalarType >
std::vector< ScalarTypeIfpack2::Details::optimalWeightsImpl (const int chebyOrder)
 Generate optimal weights for using the fourth kind Chebyshev polynomials see: https://arxiv.org/pdf/2202.08830.pdf for details.
 

Detailed Description

Definition of Chebyshev implementation.

Author
Malachi Phillips

This file is meant for Ifpack2 developers only, not for users. It defines the weights needed for fourth kind Chebyshev polynomials with optimal weights. See: https://arxiv.org/pdf/2202.08830.pdf for details.

Function Documentation

◆ optimalWeightsImpl()

template<typename ScalarType >
std::vector< ScalarType > Ifpack2::Details::optimalWeightsImpl ( const int  chebyOrder)

Generate optimal weights for using the fourth kind Chebyshev polynomials see: https://arxiv.org/pdf/2202.08830.pdf for details.

Precondition
0 < chebyOrder <= 16 – this is an arbitrary distinction, but the weights are currently hard-coded from the MATLAB scripts from https://arxiv.org/pdf/2202.08830.pdf.
Parameters
chebyOrder[in] Number of Chebyshev iterations.