MADNESS  0.10.1
Functions | Variables
3dharmonic.cc File Reference

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

#include <madness/mra/mra.h>
#include <madness/mra/funcplot.h>
#include <madness/mra/nonlinsol.h>
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 
)

References axis, madness::inner(), and V().

Referenced by main().

◆ guess()

double guess ( const coord_3d r)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ plot()

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

◆ potential()

double potential ( const coord_3d r)

Variable Documentation

◆ DELTA

const double DELTA = 7.0

Referenced by main(), and potential().

◆ L

const double L = 7.0

Referenced by main(), and plot().