Public Member Functions | |
GaussLobatto1D (int n) | |
GaussLobatto1D (int n, double a, double b) | |
int | nPoints () const |
const Array< double > & | nodes () const |
const Array< double > & | weights () const |
Static Public Member Functions | |
static bool | unitTest () |
Private Member Functions | |
void | computeWeights (int n, double a, double b) |
Private Attributes | |
Array< double > | nodes_ |
Array< double > | weights_ |
Definition at line 47 of file SundanceGaussLobatto1D.hpp.
GaussLobatto1D::GaussLobatto1D | ( | int | n | ) |
create an n-point rule on the interval [-1, 1]
Definition at line 40 of file SundanceGaussLobatto1D.cpp.
References computeWeights().
GaussLobatto1D::GaussLobatto1D | ( | int | n, | |
double | a, | |||
double | b | |||
) |
create an n-point rule on the interval [a, b]
Definition at line 46 of file SundanceGaussLobatto1D.cpp.
References computeWeights().
void GaussLobatto1D::computeWeights | ( | int | n, | |
double | a, | |||
double | b | |||
) | [private] |
Definition at line 52 of file SundanceGaussLobatto1D.cpp.
References nodes_, and weights_.
Referenced by GaussLobatto1D().
const Array<double>& Sundance::GaussLobatto1D::nodes | ( | ) | const [inline] |
get the abscissas
Definition at line 58 of file SundanceGaussLobatto1D.hpp.
References nodes_.
Referenced by Sundance::FeketeQuadrature::getLineRule(), Sundance::FeketeQuadQuadrature::getPoints(), Sundance::FeketeBrickQuadrature::getPoints(), Sundance::FeketeQuadrature::integrateRegion(), and unitTest().
int Sundance::GaussLobatto1D::nPoints | ( | ) | const [inline] |
return the number of points in the rule
Definition at line 56 of file SundanceGaussLobatto1D.hpp.
References nodes_.
Referenced by Sundance::FeketeQuadQuadrature::getPoints(), Sundance::FeketeBrickQuadrature::getPoints(), and unitTest().
bool GaussLobatto1D::unitTest | ( | ) | [static] |
Definition at line 106 of file SundanceGaussLobatto1D.cpp.
const Array<double>& Sundance::GaussLobatto1D::weights | ( | ) | const [inline] |
get the weights
Definition at line 60 of file SundanceGaussLobatto1D.hpp.
References weights_.
Referenced by Sundance::FeketeQuadrature::getLineRule(), Sundance::FeketeQuadQuadrature::getPoints(), Sundance::FeketeBrickQuadrature::getPoints(), Sundance::FeketeQuadrature::integrateRegion(), and unitTest().
Array<double> Sundance::GaussLobatto1D::nodes_ [private] |
Definition at line 66 of file SundanceGaussLobatto1D.hpp.
Referenced by computeWeights(), nodes(), and nPoints().
Array<double> Sundance::GaussLobatto1D::weights_ [private] |
Definition at line 67 of file SundanceGaussLobatto1D.hpp.
Referenced by computeWeights(), and weights().