MADNESS 0.10.1
test_xc.cc File Reference
#include <madness/mra/mra.h>
#include <iostream>
#include "libxc.h"
Include dependency graph for test_xc.cc:

Macros

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

Typedefs

typedef Vector< double, 3 > coordT

Functions

void add_op (const Key< 3 > &key, Tensor< double > tcube, Tensor< double > lcube, Tensor< double > rcube)
static void da_ldaop (const Key< 3 > &key, Tensor< double > &t)
static double gauss_func1 (const coordT &r)
static double gauss_func3 (const coordT &r)
int main (int argc, char **argv)
void multiply_op (const Key< 3 > &key, Tensor< double > tcube, Tensor< double > lcube, Tensor< double > rcube)
void test_xc1 (World &world)
void test_xc2 (World &world)

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

◆ add_op()

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

References TERNARY_OPTIMIZED_ITERATOR.

Referenced by test_xc2().

◆ da_ldaop()

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

◆ gauss_func1()

double gauss_func1 ( const coordT & r)
static

Referenced by test_xc2().

◆ gauss_func3()

double gauss_func3 ( const coordT & r)
static
  • [1] F. Bloch, Zeitschrift fuer Physik, Vol. 57 (1929) 545. *‍/* Parameters: *‍/* --------------------------------------------------------------------— *‍/* [1] F. Bloch, Zeitschrift fuer Physik, Vol. 57 (1929) 545. *‍/* Parameters: *‍/* Parameters: *‍/* VWN interpolation parameters *‍/* paramagnetic *‍/* t4 = (1/(4/3)*pi)**(1/3) *‍/* t5 = 0.5/(2**(1/3)-1) *‍/* t6 = 2/(3*(2**(1/3)-1)) *‍/* t7 = 2.25*(2**(1/3)-1) *‍/* Paramagnetic interpolation constants *‍/* closed shell case *‍/* paramagnetic *‍/* corrected b1->b2 ps Apr98 *‍/* --------------------------------------------------------------------— *‍/* Parameters: *‍/* VWN interpolation parameters *‍/* spin stiffness *‍/* paramagnetic *‍/* t4 = (1/(4/3)*pi)**(1/3) *‍/* t5 = 0.5/(2**(1/3)-1) *‍/* t6 = 2/(3*(2**(1/3)-1)) *‍/* t7 = 2.25*(2**(1/3)-1) *‍/* Spin stiffness interpolation constants *‍/* Paramagnetic interpolation constants *‍/* Ferromagnetic interpolation constants *‍/* try nwchem values *‍/* Interpolation intervals *‍/* open shell case *‍/* spin-stiffness *‍/* paramagnetic *‍/* corrected b1->b2 ps Apr98 *‍/* ferromagnetic *‍/* polarisation function *‍/

Referenced by test_xc2().

◆ main()

◆ multiply_op()

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

◆ test_xc1()

void test_xc1 ( World & world)

◆ test_xc2()

Variable Documentation

◆ PI

const double PI = 3.1415926535897932384