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 | ||
) |
References madness::apply(), madness::BSHOperator3D(), e(), madness::inner(), madness::detail::norm(), madness::Function< T, NDIM >::norm2(), op(), madness::print(), psi(), madness::World::rank(), madness::Function< T, NDIM >::scale(), madness::Function< T, NDIM >::truncate(), and V().
Referenced by main().
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::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, and V().
|
static |
Referenced by main().
|
static |
Referenced by main().