MADNESS 0.10.1
heat.cc File Reference

Example Green function for the 3D heat equation. More...

Include dependency graph for heat.cc:

Classes

class  uexact

Typedefs

typedef Vector< double, 3 > coordT
typedef FunctionFactory< double, 3 > factoryT
typedef Function< double, 3 > functionT
typedef std::shared_ptr< FunctionFunctorInterface< double, 3 > > functorT
typedef SeparatedConvolution< double, 3 > operatorT
typedef Tensor< double > tensorT

Functions

int main (int argc, char **argv)
static double uinitial (const coordT &r)

Variables

static const double alpha = 1.9
static const double c = 2.0
static const long k = 8
static const double L = 10
static const double thresh = 1e-6
static const double tstep = 0.333

Detailed Description

Example Green function for the 3D heat equation.

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

◆ factoryT

typedef FunctionFactory<double,3> factoryT

◆ functionT

typedef Function<double,3> functionT

◆ functorT

typedef std::shared_ptr< FunctionFunctorInterface<double,3> > functorT

◆ operatorT

typedef SeparatedConvolution<double,3> operatorT

◆ tensorT

typedef Tensor<double> tensorT

Function Documentation

◆ main()

◆ uinitial()

double uinitial ( const coordT & r)
static

References alpha, madness::constants::pi, and pow().

Referenced by main().

Variable Documentation

◆ alpha

const double alpha = 1.9
static

◆ c

const double c = 2.0
static

◆ k

const long k = 8
static

◆ L

const double L = 10
static

◆ thresh

const double thresh = 1e-6
static

◆ tstep

const double tstep = 0.333
static