MADNESS
0.10.1
|
#include <madness/mra/mra.h>
#include <unistd.h>
#include <cstdio>
#include <madness/constants.h>
#include <madness/mra/qmprop.h>
Classes | |
struct | unaryexp< T, NDIM > |
Typedefs | |
typedef Convolution1D< double_complex > | complex_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 Convolution1D<double_complex> complex_operatorT |
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 | ) |
Referenced by test_chin_chen().
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().
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.
References expV(), madness::Function< T, NDIM >::truncate(), madness::Function< T, NDIM >::unaryop(), and v.
double_complex psi0 | ( | const coord_1d & | r | ) |
Referenced by chin_chen(), initial_guess(), loadbal(), print_stats(), propagate(), q_c(), sympgrad4(), sympgrad6(), test2(), test_chin_chen(), test_trotter(), and trotter().
void test_chin_chen | ( | World & | world | ) |
References madness::abs(), madness::arg(), c, chin_chen(), madness::copy(), dVsq(), e(), energy(), expV(), G0, k, L, madness::make_exp(), madness::phase(), madness::constants::pi, madness::print(), psi(), psi0(), madness::qm_1d_free_particle_propagator(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), tcrit, thresh, tstep, v, and V().
void test_trotter | ( | World & | world | ) |
References madness::abs(), madness::arg(), c, madness::copy(), e(), energy(), expV(), G0, k, L, madness::make_exp(), madness::phase(), madness::constants::pi, madness::print(), psi(), psi0(), madness::qm_1d_free_particle_propagator(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_thresh(), tcrit, thresh, trotter(), tstep, v, and V().
complex_function_1d trotter | ( | const complex_function_1d & | expV, |
const complex_operatorT * | G, | ||
const complex_function_1d & | psi0 | ||
) |
References madness::apply_1d_realspace_push(), expV(), psi0(), madness::Function< T, NDIM >::sum_down(), and madness::Function< T, NDIM >::truncate().
Referenced by test_trotter().
double_complex V | ( | const coord_1d & | r | ) |
Referenced by test_chin_chen(), and test_trotter().