MADNESS  version 0.9
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 "nonlinsol.h"
Include dependency graph for 3dharmonic.cc:

Functions

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

Variables

const double L = 7.0
 
const double DELTA = 7.0
 

Detailed Description

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

Function Documentation

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

References madness::inner().

Referenced by main().

double guess ( const coord_3d r)

References mpfr::exp().

Referenced by doit(), main(), and opt().

int main ( int  argc,
char **  argv 
)
void plot ( const char *  filename,
const real_function_3d f 
)
double potential ( const coord_3d r)

Variable Documentation

const double DELTA = 7.0

Referenced by main(), and potential().

const double L = 7.0