#include <vdwd3_parameters.h>
|
| | Vdwd3Parameters () |
| |
| | ~Vdwd3Parameters ()=default |
| |
| void | initial_parameters (const std::string &xc, const Input_para &input, std::ofstream *plog=nullptr) |
| | initialize the parameter by either input (from user setting) or autoset by dft XC
|
| |
| const std::string & | version () const |
| |
| bool | abc () const |
| |
| double | rthr2 () const |
| |
| double | cn_thr2 () const |
| |
| double | s6 () const |
| |
| double | rs6 () const |
| |
| double | s18 () const |
| |
| double | rs18 () const |
| |
| const std::vector< int > & | mxc () const |
| |
| const std::vector< std::vector< std::vector< std::vector< std::vector< double > > > > > & | c6ab () const |
| |
| const std::vector< double > & | r2r4 () const |
| |
| const std::vector< double > & | rcov () |
| |
| const std::vector< std::vector< double > > & | r0ab () |
| |
| double | k1 () const |
| |
| double | k2 () const |
| |
| double | k3 () const |
| |
| double | alp6 () const |
| |
| double | alp8 () const |
| |
| double | alp10 () const |
| |
| | VdwParameters ()=default |
| |
| virtual | ~VdwParameters ()=default |
| |
| const std::string & | model () const |
| |
| const ModuleBase::Vector3< int > & | period () const |
| |
|
| static void | _vdwd3_autoset_xcparam (const std::string &xc_in, const std::string &d3method, const std::string &s6_in, const std::string &s8_in, const std::string &a1_in, const std::string &a2_in, double &s6, double &s8, double &a1, double &a2, std::ofstream *plog=nullptr) |
| | Get DFT-D3 parameters. If if there are parameters defined, then it will overwrite the search result. If all parameters are defined already by user, then search will not performed.
|
| |
| static std::string | _vdwd3_xcname (const std::string &xcpattern) |
| |
|
| std::string | version_ |
| |
| bool | abc_ =false |
| |
| double | rthr2_ =0.0 |
| |
| double | cn_thr2_ =0.0 |
| |
| double | s6_ =0.0 |
| |
| double | rs6_ =0.0 |
| |
| double | s18_ =0.0 |
| |
| double | rs18_ =0.0 |
| |
| std::vector< int > | mxc_ |
| |
| std::vector< std::vector< std::vector< std::vector< std::vector< double > > > > > | c6ab_ |
| |
| std::vector< double > | r2r4_ |
| |
| std::vector< double > | rcov_ |
| |
| std::vector< std::vector< double > > | r0ab_ |
| |
|
| static constexpr size_t | max_elem_ = 94 |
| |
| static constexpr double | k1_ = 16.0 |
| |
| static constexpr double | k2_ = 4.0 / 3.0 |
| |
| static constexpr double | k3_ = -4.0 |
| |
| static constexpr double | alp6_ = 14.0 |
| |
| static constexpr double | alp8_ = alp6_ + 2 |
| |
| static constexpr double | alp10_ = alp8_ + 2 |
| |
◆ Vdwd3Parameters()
| vdw::Vdwd3Parameters::Vdwd3Parameters |
( |
| ) |
|
|
inline |
◆ ~Vdwd3Parameters()
| vdw::Vdwd3Parameters::~Vdwd3Parameters |
( |
| ) |
|
|
default |
◆ _vdwd3_autoset_xcparam()
| void vdw::Vdwd3Parameters::_vdwd3_autoset_xcparam |
( |
const std::string & |
xc_in, |
|
|
const std::string & |
d3method, |
|
|
const std::string & |
s6_in, |
|
|
const std::string & |
s8_in, |
|
|
const std::string & |
a1_in, |
|
|
const std::string & |
a2_in, |
|
|
double & |
s6, |
|
|
double & |
s8, |
|
|
double & |
a1, |
|
|
double & |
a2, |
|
|
std::ofstream * |
plog = nullptr |
|
) |
| |
|
staticprivate |
Get DFT-D3 parameters. If if there are parameters defined, then it will overwrite the search result. If all parameters are defined already by user, then search will not performed.
- Parameters
-
| xc | XC functional name |
| d3method | can be "d3_0" or "d3_bj" |
| s6_in | user defined s6, default is "default" |
| s8_in | user defined s8, default is "default" |
| a1_in | user defined a1, default is "default" |
| a2_in | user defined a2, default is "default" |
| s6 | [out] s6 parameter |
| s8 | [out] s8 parameter |
| a1 | [out] a1 parameter |
| a2 | [out] a2 parameter |
◆ _vdwd3_xcname()
| std::string vdw::Vdwd3Parameters::_vdwd3_xcname |
( |
const std::string & |
xcpattern | ) |
|
|
staticprivate |
◆ abc()
| bool vdw::Vdwd3Parameters::abc |
( |
| ) |
const |
|
inline |
◆ alp10()
| double vdw::Vdwd3Parameters::alp10 |
( |
| ) |
const |
|
inline |
◆ alp6()
| double vdw::Vdwd3Parameters::alp6 |
( |
| ) |
const |
|
inline |
◆ alp8()
| double vdw::Vdwd3Parameters::alp8 |
( |
| ) |
const |
|
inline |
◆ c6ab()
| const std::vector< std::vector< std::vector< std::vector< std::vector< double > > > > > & vdw::Vdwd3Parameters::c6ab |
( |
| ) |
const |
|
inline |
◆ cn_thr2()
| double vdw::Vdwd3Parameters::cn_thr2 |
( |
| ) |
const |
|
inline |
◆ init_C6()
| void vdw::Vdwd3Parameters::init_C6 |
( |
| ) |
|
|
private |
◆ init_r0ab()
| void vdw::Vdwd3Parameters::init_r0ab |
( |
| ) |
|
|
private |
◆ init_r2r4()
| void vdw::Vdwd3Parameters::init_r2r4 |
( |
| ) |
|
|
private |
◆ init_rcov()
| void vdw::Vdwd3Parameters::init_rcov |
( |
| ) |
|
|
private |
◆ initial_parameters()
| void vdw::Vdwd3Parameters::initial_parameters |
( |
const std::string & |
xc, |
|
|
const Input_para & |
input, |
|
|
std::ofstream * |
plog = nullptr |
|
) |
| |
initialize the parameter by either input (from user setting) or autoset by dft XC
- Parameters
-
| input | Parameter instance |
| plog | optional, for logging the parameter setting process |
◆ k1()
| double vdw::Vdwd3Parameters::k1 |
( |
| ) |
const |
|
inline |
◆ k2()
| double vdw::Vdwd3Parameters::k2 |
( |
| ) |
const |
|
inline |
◆ k3()
| double vdw::Vdwd3Parameters::k3 |
( |
| ) |
const |
|
inline |
◆ limit()
| int vdw::Vdwd3Parameters::limit |
( |
int & |
i | ) |
|
|
private |
◆ mxc()
| const std::vector< int > & vdw::Vdwd3Parameters::mxc |
( |
| ) |
const |
|
inline |
◆ r0ab()
| const std::vector< std::vector< double > > & vdw::Vdwd3Parameters::r0ab |
( |
| ) |
|
|
inline |
◆ r2r4()
| const std::vector< double > & vdw::Vdwd3Parameters::r2r4 |
( |
| ) |
const |
|
inline |
◆ rcov()
| const std::vector< double > & vdw::Vdwd3Parameters::rcov |
( |
| ) |
|
|
inline |
◆ rs18()
| double vdw::Vdwd3Parameters::rs18 |
( |
| ) |
const |
|
inline |
◆ rs6()
| double vdw::Vdwd3Parameters::rs6 |
( |
| ) |
const |
|
inline |
◆ rthr2()
| double vdw::Vdwd3Parameters::rthr2 |
( |
| ) |
const |
|
inline |
◆ s18()
| double vdw::Vdwd3Parameters::s18 |
( |
| ) |
const |
|
inline |
◆ s6()
| double vdw::Vdwd3Parameters::s6 |
( |
| ) |
const |
|
inline |
◆ version()
| const std::string & vdw::Vdwd3Parameters::version |
( |
| ) |
const |
|
inline |
◆ abc_
| bool vdw::Vdwd3Parameters::abc_ =false |
|
private |
◆ alp10_
| constexpr double vdw::Vdwd3Parameters::alp10_ = alp8_ + 2 |
|
staticprivate |
◆ alp6_
| constexpr double vdw::Vdwd3Parameters::alp6_ = 14.0 |
|
staticconstexprprivate |
◆ alp8_
| constexpr double vdw::Vdwd3Parameters::alp8_ = alp6_ + 2 |
|
staticprivate |
◆ c6ab_
| std::vector<std::vector<std::vector<std::vector<std::vector<double> > > > > vdw::Vdwd3Parameters::c6ab_ |
|
private |
◆ cn_thr2_
| double vdw::Vdwd3Parameters::cn_thr2_ =0.0 |
|
private |
◆ k1_
| constexpr double vdw::Vdwd3Parameters::k1_ = 16.0 |
|
staticconstexprprivate |
◆ k2_
| constexpr double vdw::Vdwd3Parameters::k2_ = 4.0 / 3.0 |
|
staticprivate |
◆ k3_
| constexpr double vdw::Vdwd3Parameters::k3_ = -4.0 |
|
staticprivate |
◆ max_elem_
| constexpr size_t vdw::Vdwd3Parameters::max_elem_ = 94 |
|
staticconstexprprivate |
◆ mxc_
| std::vector<int> vdw::Vdwd3Parameters::mxc_ |
|
private |
◆ r0ab_
| std::vector<std::vector<double> > vdw::Vdwd3Parameters::r0ab_ |
|
private |
◆ r2r4_
| std::vector<double> vdw::Vdwd3Parameters::r2r4_ |
|
private |
◆ rcov_
| std::vector<double> vdw::Vdwd3Parameters::rcov_ |
|
private |
◆ rs18_
| double vdw::Vdwd3Parameters::rs18_ =0.0 |
|
private |
◆ rs6_
| double vdw::Vdwd3Parameters::rs6_ =0.0 |
|
private |
◆ rthr2_
| double vdw::Vdwd3Parameters::rthr2_ =0.0 |
|
private |
◆ s18_
| double vdw::Vdwd3Parameters::s18_ =0.0 |
|
private |
◆ s6_
| double vdw::Vdwd3Parameters::s6_ =0.0 |
|
private |
◆ version_
| std::string vdw::Vdwd3Parameters::version_ |
|
private |
The documentation for this class was generated from the following files: