MADNESS 0.10.1
3dharmonic.cc File Reference

Solves for the ground state of the quantum 3d harmonic oscillator. More...

Include dependency graph for 3dharmonic.cc:

Functions

double energy (World &world, const real_function_3d &phi, const real_function_3d &V)
double guess (const coord_3d &r)
int main (int argc, char **argv)
void plot (const char *filename, const real_function_3d &f)
double potential (const coord_3d &r)

Variables

const double DELTA = 7.0
const double L = 7.0

Detailed Description

Solves for the ground state of the quantum 3d harmonic oscillator.

Function Documentation

◆ energy()

double energy ( World & world,
const real_function_3d & phi,
const real_function_3d & V )

◆ guess()

double guess ( const coord_3d & r)

◆ main()

◆ plot()

void plot ( const char * filename,
const real_function_3d & f )

References f, madness::filename, L, lo, and madness::plot_line().

Referenced by main().

◆ potential()

Variable Documentation

◆ DELTA

const double DELTA = 7.0

Referenced by main(), and potential().

◆ L

const double L = 7.0