MADNESS 0.10.1
|
Solves the Hartree-Fock equations for the helium atom. More...
Functions | |
static double | guess (const coord_3d &r) |
void | iterate (World &world, real_function_3d &V, real_function_3d &psi, double &eps) |
int | main (int argc, char **argv) |
static double | V (const coord_3d &r) |
Variables | |
static const long | k = 8 |
static const double | L = 32.0 |
static const double | thresh = 1e-6 |
Solves the Hartree-Fock equations for the helium atom.
void iterate | ( | World & | world, |
real_function_3d & | V, | ||
real_function_3d & | psi, | ||
double & | eps | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
References madness::apply(), axis, SafeMPI::COMM_WORLD, madness::CoulombOperator(), e(), madness::WorldGopInterface::fence(), madness::finalize(), madness::World::gop, guess(), madness::initialize(), madness::inner(), iterate(), k, L, op(), potential(), madness::print(), psi(), madness::World::rank(), madness::Function< T, NDIM >::scale(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::FunctionDefaults< NDIM >::set_truncate_mode(), madness::square(), madness::startup(), thresh, madness::Function< T, NDIM >::truncate(), and V().
|
static |
Referenced by main().
|
static |
Referenced by main().