33#ifndef MADNESS_MRA_LEGENDRE_H__INCLUDED
34#define MADNESS_MRA_LEGENDRE_H__INCLUDED
45 extern bool gauss_legendre(
int n,
double xlo,
double xhi,
double *x,
double *
w);
double w(double t, double eps)
Definition DKops.h:22
This header should include pretty much everything needed for the parallel runtime.
char * p(char *buf, const char *name, int k, int initial_level, double thresh, int order)
Definition derivatives.cc:72
Macros and tools pertaining to the configuration of MADNESS.
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
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:70
bool gauss_legendre_test(bool print)
Definition legendre.cc:261
void legendre_scaling_functions(double x, long k, double *p)
Evaluate the first k Legendre scaling functions.
Definition legendre.cc:85
void initialize_legendre_stuff()
Call this single threaded to initialize static data (used read only by multiple threads)
Definition legendre.cc:61
bool gauss_legendre(int n, double xlo, double xhi, double *x, double *w)
Definition legendre.cc:226
void print(const T &t, const Ts &... ts)
Print items to std::cout (items separated by spaces) and terminate with a new line.
Definition print.h:225
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:176
static const string dir
Definition corepotential.cc:249
void load_quadrature(World &world, const char *dir)
Collective routine to pre-load and cache the quadrature points and weights.
Definition legendre.cc:141
static const long k
Definition rk.cc:44