MADNESS 0.10.1
Classes | Typedefs | Functions | Variables
heat.cc File Reference

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

#include <madness/mra/mra.h>
#include <madness/mra/operator.h>
#include <madness/constants.h>
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()

int main ( int  argc,
char **  argv 
)

◆ uinitial()

static 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

Referenced by uinitial().

◆ c

const double c = 2.0
static

Referenced by main().

◆ k

const long k = 8
static

Referenced by main().

◆ L

const double L = 10
static

Referenced by main().

◆ thresh

const double thresh = 1e-6
static

Referenced by main().

◆ tstep

const double tstep = 0.333
static