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

◆ main()

◆ uexact()

double uexact ( const coord_3d & r)

References delta, and pow().

Referenced by main().

Variable Documentation

◆ k

const long k = 8
static

◆ L

const double L = 30
static

◆ small

◆ thresh

const double thresh = 1e-6
static