36 #ifndef MADNESS_MRA_LEGENDRE_H__INCLUDED
37 #define MADNESS_MRA_LEGENDRE_H__INCLUDED
48 extern bool gauss_legendre(
int n,
double xlo,
double xhi,
double *x,
double *w);
53 #endif // MADNESS_MRA_LEGENDRE_H__INCLUDED
void load_quadrature(World &world, const char *dir)
Collective routine to pre-load and cache the quadrature points and weights.
Definition: legendre.cc:146
void legendre_scaling_functions(double x, long k, double *p)
Evaluate the first k Legendre scaling functions.
Definition: legendre.cc:90
This header should include pretty much everything needed for the parallel runtime.
bool gauss_legendre(int n, double xlo, double xhi, double *x, double *w)
Definition: legendre.cc:231
bool gauss_legendre_numeric(int n, double xlo, double xhi, double *x, double *w)
Compute the Gauss-Legendre quadrature points and weights.
Definition: legendre.cc:181
void legendre_polynomials(double x, long order, double *p)
Evaluate the Legendre polynomials up to the given order at x in [-1,1].
Definition: legendre.cc:75
bool gauss_legendre_test(bool print)
Definition: legendre.cc:266
void initialize_legendre_stuff()
Call this single threaded to initialize static data (used read only by multiple threads) ...
Definition: legendre.cc:66
void print(const A &a)
Print a single item to std::cout terminating with new line.
Definition: print.h:122
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45