MADNESS 0.10.1
legendre.h File Reference
Include dependency graph for legendre.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.

Functions

bool madness::gauss_legendre (int n, double xlo, double xhi, double *x, double *w)
bool madness::gauss_legendre_numeric (int n, double xlo, double xhi, double *x, double *w)
 Compute the Gauss-Legendre quadrature points and weights.
bool madness::gauss_legendre_test (bool print)
void madness::initialize_legendre_stuff ()
 Call this single threaded to initialize static data (used read only by multiple threads).
void madness::legendre_polynomials (double x, long order, double *p)
 Evaluate the Legendre polynomials up to the given order at x in [-1,1].
void madness::legendre_scaling_functions (double x, long k, double *p)
 Evaluate the first k Legendre scaling functions.
void madness::load_quadrature (World &world, const char *dir)
 Collective routine to pre-load and cache the quadrature points and weights.