MADNESS 0.10.1
hatom_1d.cc File Reference

Solves the Schrodinger equation for the 1-d hydrogen atom. More...

Include dependency graph for hatom_1d.cc:

Functions

static double guess (const coord_1d &r)
void iterate (World &world, real_function_1d &V, real_function_1d &psi, double &eps)
int main (int argc, char **argv)
static double V (const coord_1d &r)

Variables

static const long k = 6
static const double L = 100
static const double thresh = 1e-4

Detailed Description

Solves the Schrodinger equation for the 1-d hydrogen atom.

The Hartree-Fock wave function is computed for the hydrogen atom in one dimension without using symmetry.

Function Documentation

◆ guess()

double guess ( const coord_1d & r)
static

◆ iterate()

◆ main()

◆ V()

double V ( const coord_1d & r)
static

References e().

Variable Documentation

◆ k

const long k = 6
static

◆ L

const double L = 100
static

◆ thresh

const double thresh = 1e-4
static