MADNESS 0.10.1
Classes | Macros | Typedefs | Functions | Variables
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)   TO_STRING2(s)
 
#define TO_STRING2(s)   #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)    TO_STRING2(s)

◆ TO_STRING2

#define TO_STRING2 (   s)    #s

Typedef Documentation

◆ coordT

typedef Vector<double,3> coordT

Function Documentation

◆ he_ldaop()

static 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()

int main ( int  argc,
char **  argv 
)

◆ multiply_op()

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

◆ printfunc()

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

◆ psi_func_he()

static double psi_func_he ( const coordT r)
static

References e().

Referenced by test_he_potential().

◆ rho_func_he()

static double rho_func_he ( const coordT rr)
static

References c.

Referenced by test_he_potential().

◆ smoothed_potential()

static 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()

static 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()

void test_he_potential ( World world)

◆ test_hf_he()

void test_hf_he ( World world)

◆ test_xc()

void test_xc ( World world)

Referenced by main().

◆ V_func_he()

static double V_func_he ( const coordT r)
static

Variable Documentation

◆ PI

const double PI = 3.1415926535897932384

Referenced by smoothed_potential().