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

testing for diff() in 3D More...

#include <madness/mra/mra.h>
#include <string>
Include dependency graph for testdiff3D.cc:

Typedefs

typedef Vector< double, 3 > coordT
 
typedef FunctionFactory< double, 3 > factoryT
 
typedef Function< double, 3 > functionT
 
typedef Tensor< double > tensorT
 

Functions

int compare (World &world, functionT test, functionT exact, const char *str)
 
static double dudx_exact (const coordT &pt)
 
static double dudy_exact (const coordT &pt)
 
static double dudz_exact (const coordT &pt)
 
int main (int argc, char **argv)
 
static double u_exact (const coordT &pt)
 
static double xleft_dirichlet (const coordT &pt)
 
static double xleft_neumann (const coordT &pt)
 
static double xright_dirichlet (const coordT &pt)
 
static double xright_neumann (const coordT &pt)
 
static double yleft_dirichlet (const coordT &pt)
 
static double yleft_neumann (const coordT &pt)
 
static double yright_dirichlet (const coordT &pt)
 
static double yright_neumann (const coordT &pt)
 
static double zleft_dirichlet (const coordT &pt)
 
static double zleft_neumann (const coordT &pt)
 
static double zright_dirichlet (const coordT &pt)
 
static double zright_neumann (const coordT &pt)
 

Variables

static const int init_lev = 2
 
static const int k = 9
 
static const double Length = 4.0
 
static int test_axis = 0
 
static const double thresh = 1.e-7
 

Detailed Description

testing for diff() in 3D

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

◆ factoryT

typedef FunctionFactory<double,3> factoryT

◆ functionT

typedef Function<double,3> functionT

◆ tensorT

typedef Tensor<double> tensorT

Function Documentation

◆ compare()

int compare ( World world,
functionT  test,
functionT  exact,
const char *  str 
)

◆ dudx_exact()

static double dudx_exact ( const coordT pt)
static

Referenced by main().

◆ dudy_exact()

static double dudy_exact ( const coordT pt)
static

Referenced by main().

◆ dudz_exact()

static double dudz_exact ( const coordT pt)
static

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ u_exact()

static double u_exact ( const coordT pt)
static

Referenced by main().

◆ xleft_dirichlet()

static double xleft_dirichlet ( const coordT pt)
static

Referenced by main().

◆ xleft_neumann()

static double xleft_neumann ( const coordT pt)
static

Referenced by main().

◆ xright_dirichlet()

static double xright_dirichlet ( const coordT pt)
static

References Length.

Referenced by main().

◆ xright_neumann()

static double xright_neumann ( const coordT pt)
static

Referenced by main().

◆ yleft_dirichlet()

static double yleft_dirichlet ( const coordT pt)
static

Referenced by main().

◆ yleft_neumann()

static double yleft_neumann ( const coordT pt)
static

Referenced by main().

◆ yright_dirichlet()

static double yright_dirichlet ( const coordT pt)
static

References Length.

Referenced by main().

◆ yright_neumann()

static double yright_neumann ( const coordT pt)
static

Referenced by main().

◆ zleft_dirichlet()

static double zleft_dirichlet ( const coordT pt)
static

Referenced by main().

◆ zleft_neumann()

static double zleft_neumann ( const coordT pt)
static

Referenced by main().

◆ zright_dirichlet()

static double zright_dirichlet ( const coordT pt)
static

References Length.

Referenced by main().

◆ zright_neumann()

static double zright_neumann ( const coordT pt)
static

Referenced by main().

Variable Documentation

◆ init_lev

const int init_lev = 2
static

Referenced by main().

◆ k

const int k = 9
static

Referenced by main().

◆ Length

const double Length = 4.0
static

◆ test_axis

int test_axis = 0
static

Referenced by main().

◆ thresh

const double thresh = 1.e-7
static

Referenced by compare(), and main().