MADNESS 0.10.1
|
Represents a core potential. More...
#include <corepotential.h>
Public Member Functions | |
CorePotential () | |
CorePotential (const std::vector< int > &l, const std::vector< int > &n, const std::vector< double > &A, const std::vector< double > &alpha) | |
double | eval (double r) const |
double | eval_derivative (double xi, double r) const |
template<typename Archive > | |
void | serialize (Archive &ar) |
std::string | to_string () const |
Public Attributes | |
std::vector< double > | A |
std::vector< double > | alpha |
double | eprec |
std::vector< int > | l |
Angular momentum = 0, 1, 2, ... | |
std::vector< int > | n |
double | rcut |
double | rcut0 |
Represents a core potential.
General Core Potential is able to write down as following form: CorePotential holds these parameters (l,n,A,alpha)
Note: CorePotential::eval() currently ignores ‘l’. (It means ‘ ’ is always ‘1’.)
|
inline |
|
inline |
double madness::CorePotential::eval | ( | double | r | ) | const |
References alpha, n, pow(), rcut, rcut0, madness::smoothed_potential(), and u().
Referenced by CorePotentialFunctor::operator()(), and madness::CorePotentialManager::potential().
double madness::CorePotential::eval_derivative | ( | double | xi, |
double | r | ||
) | const |
References alpha, madness::dsmoothed_potential(), n, pow(), rcut, rcut0, madness::smoothed_potential(), u(), and xi.
Referenced by madness::CorePotentialManager::potential_derivative().
|
inline |
std::vector<double> madness::CorePotential::A |
Referenced by Calculation::calc_optimal_coeffs(), and madness::read_potential().
std::vector<double> madness::CorePotential::alpha |
double madness::CorePotential::eprec |
Referenced by madness::read_potential(), and serialize().
std::vector<int> madness::CorePotential::l |
Angular momentum = 0, 1, 2, ...
Referenced by Calculation::calc_optimal_coeffs(), madness::read_potential(), serialize(), and to_string().
std::vector<int> madness::CorePotential::n |
double madness::CorePotential::rcut |
Referenced by eval(), eval_derivative(), Calculation::project_potential_basis(), madness::read_potential(), and serialize().
double madness::CorePotential::rcut0 |
Referenced by eval(), eval_derivative(), madness::read_potential(), and serialize().