MADNESS  0.10.1
Typedefs | Functions | Variables
testperiodic.cc File Reference

test periodic convolutiosn More...

#include <madness/mra/mra.h>
#include <madness/mra/operator.h>
#include <madness/constants.h>
Include dependency graph for testperiodic.cc:

Typedefs

typedef Vector< double, 3 > coordT
 

Functions

int main (int argc, char **argv)
 
double potential (const coordT &r)
 
double_complex pw_lhs (const coord_3d &r)
 
double_complex pw_rhs (const coord_3d &r)
 
double source (const coordT &r)
 
double source1 (const coord_1d &r)
 
int test_periodic (World &world)
 
int test_periodic1 (World &world)
 
int test_periodic2 (World &world)
 
int test_periodic_bsh (World &world)
 
double u (const double x, const double expnt)
 

Variables

int G0 = 1
 
int G1 = 2
 
int G2 = 2
 
double k0 = 1.0
 
double k1 = 1.0
 
double k2 = 0.0
 
const double L = 3.0
 
double mu
 
const int nwave = 2
 
const char * status [2] = {"FAIL !!!!!","PASS"}
 

Detailed Description

test periodic convolutiosn

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ potential()

double potential ( const coordT r)

References L, nwave, madness::constants::pi, and source().

Referenced by test_periodic2().

◆ pw_lhs()

double_complex pw_lhs ( const coord_3d r)

References G0, G2, k0, k1, k2, L, and madness::constants::pi.

Referenced by test_periodic_bsh().

◆ pw_rhs()

double_complex pw_rhs ( const coord_3d r)

References G0, G2, k0, k1, k2, L, mu, and madness::constants::pi.

Referenced by test_periodic_bsh().

◆ source()

double source ( const coordT r)

◆ source1()

double source1 ( const coord_1d r)

References L, nwave, and madness::constants::pi.

Referenced by test_periodic1().

◆ test_periodic()

int test_periodic ( World world)

◆ test_periodic1()

int test_periodic1 ( World world)

◆ test_periodic2()

int test_periodic2 ( World world)

◆ test_periodic_bsh()

int test_periodic_bsh ( World world)

◆ u()

double u ( const double  x,
const double  expnt 
)

Variable Documentation

◆ G0

int G0 = 1

◆ G1

int G1 = 2

◆ G2

int G2 = 2

◆ k0

double k0 = 1.0

◆ k1

double k1 = 1.0

◆ k2

double k2 = 0.0

◆ L

const double L = 3.0

◆ mu

double mu

Referenced by pw_rhs(), and test_periodic_bsh().

◆ nwave

const int nwave = 2

Referenced by potential(), source(), source1(), and u().

◆ status

const char* status[2] = {"FAIL !!!!!","PASS"}