OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::ChebyshevU Class Reference

A collection of Chebyshev Polynomials. More...

#include <ChebyshevU.hpp>

Public Member Functions

 ChebyshevU (int maxPower)
RealType evaluate (int n, RealType x)
 Calculates the value of the nth Chebyshev Polynomial evaluated at the given x value.
RealType evaluateDerivative (int n, RealType x)
 Returns the first derivative of the nth Chebyshev Polynomial.
const DoublePolynomial & getChebyshevPolynomial (int n) const
 Returns the nth Chebyshev Polynomial.

Protected Member Functions

void GeneratePolynomials (int maxPower)

Protected Attributes

std::vector< DoublePolynomial > polyList_

Detailed Description

A collection of Chebyshev Polynomials.

Todo
document

Definition at line 70 of file ChebyshevU.hpp.

Constructor & Destructor Documentation

◆ ChebyshevU()

OpenMD::ChebyshevU::ChebyshevU ( int maxPower)

Definition at line 51 of file ChebyshevU.cpp.

◆ ~ChebyshevU()

virtual OpenMD::ChebyshevU::~ChebyshevU ( )
inlinevirtual

Definition at line 73 of file ChebyshevU.hpp.

Member Function Documentation

◆ evaluate()

RealType OpenMD::ChebyshevU::evaluate ( int n,
RealType x )
inline

Calculates the value of the nth Chebyshev Polynomial evaluated at the given x value.

Returns
The value of the nth Chebyshev Polynomial evaluates at the given x value
Parameters
n
xthe value of the independent variable for the nth Chebyshev Polynomial function

Definition at line 84 of file ChebyshevU.hpp.

◆ evaluateDerivative()

RealType OpenMD::ChebyshevU::evaluateDerivative ( int n,
RealType x )
inline

Returns the first derivative of the nth Chebyshev Polynomial.

Returns
the first derivative of the nth Chebyshev Polynomial
Parameters
n
xthe value of the independent variable for the nth Chebyshev Polynomial function

Definition at line 96 of file ChebyshevU.hpp.

◆ GeneratePolynomials()

void OpenMD::ChebyshevU::GeneratePolynomials ( int maxPower)
protected

Definition at line 56 of file ChebyshevU.cpp.

◆ getChebyshevPolynomial()

const DoublePolynomial & OpenMD::ChebyshevU::getChebyshevPolynomial ( int n) const
inline

Returns the nth Chebyshev Polynomial.

Returns
the nth Chebyshev Polynomial
Parameters
n

Definition at line 106 of file ChebyshevU.hpp.

Member Data Documentation

◆ polyList_

std::vector<DoublePolynomial> OpenMD::ChebyshevU::polyList_
protected

Definition at line 112 of file ChebyshevU.hpp.


The documentation for this class was generated from the following files: