MADNESS  0.10.1
Classes | Typedefs | Functions | Variables
test_lattice.cc File Reference
#include <madness/mra/mra.h>
#include "poperator.h"
Include dependency graph for test_lattice.cc:

Classes

class  wstFunctor< Q >
 

Typedefs

typedef Vector< double, 1 > coordT1d
 
typedef Vector< double, 3 > coordT3d
 

Functions

static std::complex< double > complex_exp_1d (const coordT1d r)
 
static double func_ones (const coordT3d &r)
 
template<typename Q , int NDIM>
Q laplacian (const Q &f, bool periodic=false)
 
int main (int argc, char **argv)
 
static double phi_bsh_func3d (const coordT3d &r)
 
static double_complex phi_coulomb_func3d (const coordT3d &r)
 
static double rho_bsh_func3d (const coordT3d &r)
 
static double_complex rho_coulomb_func3d (const coordT3d &r)
 
static double rho_gaussian_func3d (const coordT3d &r)
 
void testPeriodicCoulomb3d (int argc, char **argv)
 

Variables

const double L = 15.0
 
const double N = 2.0
 

Typedef Documentation

◆ coordT1d

typedef Vector<double,1> coordT1d

◆ coordT3d

typedef Vector<double,3> coordT3d

Function Documentation

◆ complex_exp_1d()

static std::complex<double> complex_exp_1d ( const coordT1d  r)
static

References L, N, and WST_PI.

◆ func_ones()

static double func_ones ( const coordT3d r)
static

◆ laplacian()

template<typename Q , int NDIM>
Q laplacian ( const Q f,
bool  periodic = false 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ phi_bsh_func3d()

static double phi_bsh_func3d ( const coordT3d r)
static

References L, twopi, and WST_PI.

◆ phi_coulomb_func3d()

static double_complex phi_coulomb_func3d ( const coordT3d r)
static

References L, N, and WST_PI.

Referenced by testPeriodicCoulomb3d().

◆ rho_bsh_func3d()

static double rho_bsh_func3d ( const coordT3d r)
static

References L, twopi, and WST_PI.

◆ rho_coulomb_func3d()

static double_complex rho_coulomb_func3d ( const coordT3d r)
static

References L, N, and WST_PI.

Referenced by testPeriodicCoulomb3d().

◆ rho_gaussian_func3d()

static double rho_gaussian_func3d ( const coordT3d r)
static

References pow(), and WST_PI.

◆ testPeriodicCoulomb3d()

void testPeriodicCoulomb3d ( int  argc,
char **  argv 
)

Variable Documentation

◆ L

const double L = 15.0

◆ N

const double N = 2.0