MADNESS 0.10.1
hatom.cc File Reference
#include <fstream>
#include <iostream>
#include <madness/mra/mra.h>
#include <madness/mra/operator.h>
Include dependency graph for hatom.cc:

Functions

std::tuple< double, double, double > compute_energy (World &world, real_function_3d &Vnuc, real_function_3d &psi)
static double guess (const coord_3d &r)
void iterate (World &world, real_function_3d &V, real_function_3d &mask, real_function_3d &psi, double &eps)
int main (int argc, char **argv)
double mask1 (double x)
static double mask3 (const coord_3d &ruser)
void run (World &world)
static double V (const coord_3d &r)

Variables

static const double F =0.0
static const long k = 8
static const double L = 32.0
static const double thresh = 1e-7

Function Documentation

◆ compute_energy()

std::tuple< double, double, double > compute_energy ( World & world,
real_function_3d & Vnuc,
real_function_3d & psi )

◆ guess()

double guess ( const coord_3d & r)
static

◆ iterate()

◆ main()

◆ mask1()

double mask1 ( double x)
inline

Referenced by mask3().

◆ mask3()

double mask3 ( const coord_3d & ruser)
static

References lo, mask1(), and madness::user_to_sim().

◆ run()

◆ V()

double V ( const coord_3d & r)
static

Variable Documentation

◆ F

◆ k

const long k = 8
static

◆ L

const double L = 32.0
static

◆ thresh

const double thresh = 1e-7
static