MADNESS 0.10.1
test_he.cc File Reference
#include <madness/mra/mra.h>
#include <iostream>
#include "solver.h"
#include "poperator.h"
#include "util.h"
#include "xc.h"
Include dependency graph for test_he.cc:

Classes

class  HeElectronicChargeDensityIGuess< T, NDIM >
class  HeNuclearChargeDensityIGuess< T, NDIM >
struct  myunaryop_square< T, NDIM >

Macros

#define TO_STRING(s)
#define TO_STRING2(s)

Typedefs

typedef Vector< double, 3 > coordT

Functions

static void he_ldaop (const Key< 3 > &key, Tensor< double > &t)
double he_munge (double r)
int main (int argc, char **argv)
void multiply_op (const Key< 3 > &key, Tensor< double > tcube, Tensor< double > lcube, Tensor< double > rcube)
void printfunc (const World &world, Function< double, 3 > f, int npts)
static double psi_func_he (const coordT &r)
static double rho_func_he (const coordT &rr)
static double smoothed_potential (double r)
 Regularized 1/r potential.
static double smoothing_parameter (double Z, double eprec)
 Returns radius for smoothing nuclear potential with energy precision eprec.
void test_he_potential (World &world)
void test_hf_he (World &world)
void test_xc (World &world)
static double V_func_he (const coordT &r)

Variables

const double PI = 3.1415926535897932384

Macro Definition Documentation

◆ TO_STRING

#define TO_STRING ( s)
Value:
#define TO_STRING2(s)
Definition test_be.cc:203

Referenced by main().

◆ TO_STRING2

#define TO_STRING2 ( s)
Value:
#s

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

Function Documentation

◆ he_ldaop()

void he_ldaop ( const Key< 3 > & key,
Tensor< double > & t )
static

◆ he_munge()

double he_munge ( double r)

References e().

Referenced by he_ldaop().

◆ main()

◆ multiply_op()

void multiply_op ( const Key< 3 > & key,
Tensor< double > tcube,
Tensor< double > lcube,
Tensor< double > rcube )

References TERNARY_OPTIMIZED_ITERATOR.

Referenced by test_xc2().

◆ printfunc()

void printfunc ( const World & world,
Function< double, 3 > f,
int npts )

◆ psi_func_he()

double psi_func_he ( const coordT & r)
static

References e().

◆ rho_func_he()

double rho_func_he ( const coordT & rr)
static

References c.

Referenced by test_he_potential(), and test_hf_he().

◆ smoothed_potential()

double smoothed_potential ( double r)
static

Regularized 1/r potential.

Invoke as u(r/c)/c where c is the radius of the smoothed volume.

References e(), PI, and madness::r2().

Referenced by V_func_he().

◆ smoothing_parameter()

double smoothing_parameter ( double Z,
double eprec )
static

Returns radius for smoothing nuclear potential with energy precision eprec.

References c, e(), eprec, pow(), and Z.

Referenced by V_func_he().

◆ test_he_potential()

◆ test_hf_he()

◆ test_xc()

void test_xc ( World & world)

Referenced by main().

◆ V_func_he()

double V_func_he ( const coordT & r)
static

Variable Documentation

◆ PI

const double PI = 3.1415926535897932384