MADNESS  0.10.1
Classes | Typedefs | Functions
testqm.cc File Reference
#include <madness/mra/mra.h>
#include <unistd.h>
#include <cstdio>
#include <madness/constants.h>
#include <madness/mra/qmprop.h>
Include dependency graph for testqm.cc:

Classes

struct  unaryexp< T, NDIM >
 

Typedefs

typedef Convolution1D< double_complexcomplex_operatorT
 

Functions

complex_function_1d chin_chen (const complex_function_1d &expV, const complex_function_1d &expVtilde, const complex_operatorT *G, const complex_function_1d &psi0)
 
double_complex dVsq (const coord_1d &r)
 
double energy (World &world, const complex_function_1d &v, const complex_function_1d &psi)
 
int main (int argc, char **argv)
 
complex_function_1d make_exp (double t, const complex_function_1d &v)
 Returns exp(-I*t*V) with truncation. More...
 
double mask (const coord_1d &r)
 
double_complex psi0 (const coord_1d &r)
 
void test_chin_chen (World &world)
 
void test_trotter (World &world)
 
complex_function_1d trotter (const complex_function_1d &expV, const complex_operatorT *G, const complex_function_1d &psi0)
 
double_complex V (const coord_1d &r)
 

Typedef Documentation

◆ complex_operatorT

Function Documentation

◆ chin_chen()

complex_function_1d chin_chen ( const complex_function_1d expV,
const complex_function_1d expVtilde,
const complex_operatorT G,
const complex_function_1d psi0 
)

◆ dVsq()

double_complex dVsq ( const coord_1d r)

Referenced by test_chin_chen().

◆ energy()

double energy ( World world,
const complex_function_1d v,
const complex_function_1d psi 
)

References madness::print(), psi(), madness::real(), and v.

Referenced by test_chin_chen(), and test_trotter().

◆ main()

int main ( int  argc,
char **  argv 
)

◆ make_exp()

complex_function_1d make_exp ( double  t,
const complex_function_1d v 
)

Returns exp(-I*t*V) with truncation.

References expV(), madness::Function< T, NDIM >::truncate(), madness::Function< T, NDIM >::unaryop(), and v.

◆ mask()

double mask ( const coord_1d r)

References pow().

Referenced by V().

◆ psi0()

double_complex psi0 ( const coord_1d r)

◆ test_chin_chen()

void test_chin_chen ( World world)

◆ test_trotter()

void test_trotter ( World world)

◆ trotter()

complex_function_1d trotter ( const complex_function_1d expV,
const complex_operatorT G,
const complex_function_1d psi0 
)

◆ V()

double_complex V ( const coord_1d r)

References m, and mask().

Referenced by test_chin_chen(), and test_trotter().