MADNESS  0.10.1
Classes | Functions | Variables
binaryop.cc File Reference

Illustrates general composition of two functions. More...

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

Classes

struct  Uop
 

Functions

double delta (const coord_3d &r)
 
int main (int argc, char **argv)
 
double uexact (const coord_3d &r)
 

Variables

static const long k = 8
 
static const double L = 30
 
static const double small = thresh*1e-4
 
static const double thresh = 1e-6
 

Detailed Description

Illustrates general composition of two functions.

Function Documentation

◆ delta()

double delta ( const coord_3d r)

References e().

Referenced by main(), and uexact().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ uexact()

double uexact ( const coord_3d r)

References delta(), and pow().

Referenced by main().

Variable Documentation

◆ k

const long k = 8
static

Referenced by main().

◆ L

const double L = 30
static

Referenced by main().

◆ small

const double small = thresh*1e-4
static

◆ thresh

const double thresh = 1e-6
static

Referenced by main().