MADNESS 0.10.1
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()

double dudx_exact ( const coordT & pt)
static

◆ dudy_exact()

double dudy_exact ( const coordT & pt)
static

◆ dudz_exact()

double dudz_exact ( const coordT & pt)
static

Referenced by main().

◆ main()

◆ u_exact()

double u_exact ( const coordT & pt)
static

◆ xleft_dirichlet()

double xleft_dirichlet ( const coordT & pt)
static

◆ xleft_neumann()

double xleft_neumann ( const coordT & pt)
static

◆ xright_dirichlet()

double xright_dirichlet ( const coordT & pt)
static

References Length.

◆ xright_neumann()

double xright_neumann ( const coordT & pt)
static

◆ yleft_dirichlet()

double yleft_dirichlet ( const coordT & pt)
static

◆ yleft_neumann()

double yleft_neumann ( const coordT & pt)
static

◆ yright_dirichlet()

double yright_dirichlet ( const coordT & pt)
static

References Length.

◆ yright_neumann()

double yright_neumann ( const coordT & pt)
static

◆ zleft_dirichlet()

double zleft_dirichlet ( const coordT & pt)
static

Referenced by main().

◆ zleft_neumann()

double zleft_neumann ( const coordT & pt)
static

Referenced by main().

◆ zright_dirichlet()

double zright_dirichlet ( const coordT & pt)
static

References Length.

Referenced by main().

◆ zright_neumann()

double zright_neumann ( const coordT & pt)
static

Referenced by main().

Variable Documentation

◆ init_lev

const int init_lev = 2
static

◆ k

const int k = 9
static

◆ Length

const double Length = 4.0
static

◆ test_axis

int test_axis = 0
static

◆ thresh

const double thresh = 1.e-7
static