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

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

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

Typedefs

typedef Vector< double, 2 > coordT
 
typedef FunctionFactory< double, 2 > factoryT
 
typedef Function< double, 2 > 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)
 
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)
 

Variables

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

Detailed Description

testing for diff() in 2D

Typedef Documentation

◆ coordT

typedef Vector<double,2> coordT

◆ factoryT

typedef FunctionFactory<double,2> factoryT

◆ functionT

typedef Function<double,2> 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().

◆ 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().

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 = 2.
static

◆ test_axis

int test_axis = 0
static

Referenced by main().

◆ thresh

const double thresh = 1.e-7
static

Referenced by compare(), and main().