MADNESS 0.10.1
|
Macros | |
#define | DEBUG_STREAM std::cout |
#define | LOG_STREAM std::cout |
#define | WST_PI madness::constants::pi |
Typedefs | |
typedef Vector< double, 1 > | coordT1d |
typedef Vector< double, 3 > | coordT3d |
Functions | |
template<int NDIM> | |
static double | gaussian_func (const Vector< double, NDIM > r) |
int | main (int argc, char **argv) |
static double | phi_initial_guess1D (const coordT1d &r) |
static double | phi_initial_guess3D (const coordT3d &r) |
static double | psi_func_he (const coordT3d &r) |
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 (int argc, char **argv) |
static double | V_cosine1D (const coordT1d &r) |
static double | V_cosine3D (const coordT3d &r) |
static double | V_cosine3D_sep (const coordT3d &r) |
static double | V_func_he (const coordT3d &r) |
Variables | |
const double | alpha = 4.5 |
const double | L = 30.0 |
#define DEBUG_STREAM std::cout |
#define LOG_STREAM std::cout |
#define WST_PI madness::constants::pi |
int main | ( | int | argc, |
char ** | argv | ||
) |
|
static |
|
static |
Regularized 1/r potential.
Invoke as u
(r/c)/c where c
is the radius of the smoothed volume.
References e(), madness::r2(), and WST_PI.
Referenced by V_func_he().
|
static |
void test_he | ( | int | argc, |
char ** | argv | ||
) |
References SafeMPI::COMM_WORLD, e(), madness::FunctionFactory< T, NDIM >::f(), SafeMPI::Finalize(), SafeMPI::Init(), L, LOG_STREAM, psi(), psi_func_he(), madness::World::rank(), madness::FunctionDefaults< NDIM >::set_cubic_cell(), madness::FunctionDefaults< NDIM >::set_initial_level(), madness::FunctionDefaults< NDIM >::set_k(), madness::FunctionDefaults< NDIM >::set_refine(), madness::FunctionDefaults< NDIM >::set_thresh(), madness::FunctionDefaults< NDIM >::set_truncate_mode(), madness::DFT< T, NDIM >::solve(), madness::startup(), thresh, madness::FunctionFactory< T, NDIM >::thresh(), and V_func_he().
|
static |
References c, e(), smoothed_potential(), and smoothing_parameter().
Referenced by test_he().
const double alpha = 4.5 |
Referenced by V_cosine1D(), V_cosine3D(), and V_cosine3D_sep().
const double L = 30.0 |
Referenced by gaussian_func(), phi_initial_guess3D(), test_he(), V_cosine1D(), V_cosine3D(), and V_cosine3D_sep().