![]() |
QMCPACK
|
Public Member Functions | |
CountingGaussian (std::string fid) | |
CountingGaussian (std::string fid, RealType alpha, PosType r, bool opt) | |
void | initialize (CountingGaussian *ref) |
void | restore (int iat) |
void | checkInVariables (opt_variables_type &active) |
void | checkOutVariables (const opt_variables_type &active) |
void | resetParameters (const opt_variables_type &active) |
void | reportStatus (std::ostream &os) |
std::unique_ptr< CountingGaussian > | makeClone (std::string fid) const |
void | triang_to_matrix (const std::array< RealType, 6 > &triang, TensorType &matrix) |
void | d_to_b (const PosType &d, const TensorType &a, PosType &b) |
void | k_to_c (const RealType &k, const TensorType &a, const PosType &d, RealType &c) |
bool | put (xmlNodePtr cur) |
void | divide_eq (const CountingGaussian *rhs) |
void | evaluate (PosType r, RealType &fval, GradType &fgrad, RealType &flap) |
void | evaluateLog (PosType r, RealType &lval, GradType &lgrad, RealType &llap) |
void | evaluateDerivative_A (A_vars q, PosType r, RealType &dfval, GradType &dfgrad, RealType &dflap) |
void | evaluateDerivative_B (B_vars q, PosType r, RealType &dfval, GradType &dfgrad, RealType &dflap) |
void | evaluateDerivatives (PosType r, std::vector< RealType > &dfval, std::vector< GradType > &dfgrad, std::vector< RealType > &dflap) |
void | evaluateLogDerivatives (PosType r, std::vector< RealType > &dlval, std::vector< GradType > &dlgrad, std::vector< RealType > &dllap) |
void | evaluateLogTempDerivatives (PosType r, std::vector< RealType > &dlval) |
void | evaluate_print (std::ostream &os, const ParticleSet &P) |
Public Attributes | |
TensorType | A |
PosType | B |
RealType | C |
opt_variables_type | myVars |
Private Types | |
enum | A_vars { XX, XY, XZ, YY, YZ, ZZ, NUM_A } |
enum | B_vars { X, Y, Z, DIM } |
using | RealType = QMCTraits::RealType |
using | PosType = QMCTraits::PosType |
using | GradType = QMCTraits::PosType |
using | TensorType = QMCTraits::TensorType |
using | real_type = optimize::VariableSet::real_type |
using | opt_variables_type = optimize::VariableSet |
Private Attributes | |
std::vector< bool > | opt_A |
std::vector< bool > | opt_B |
bool | opt_C |
std::string | id |
CountingGaussian * | gref = NULL |
RealType | Fval |
GradType | Fgrad |
RealType | Flap |
Definition at line 23 of file CountingGaussian.h.
|
private |
Definition at line 27 of file CountingGaussian.h.
|
private |
Definition at line 31 of file CountingGaussian.h.
|
private |
Definition at line 26 of file CountingGaussian.h.
|
private |
Definition at line 30 of file CountingGaussian.h.
|
private |
Definition at line 25 of file CountingGaussian.h.
|
private |
Definition at line 28 of file CountingGaussian.h.
|
private |
|
private |
|
inline |
Definition at line 77 of file CountingGaussian.h.
|
inline |
Definition at line 80 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, CountingGaussian::d_to_b(), CountingGaussian::k_to_c(), CountingGaussian::opt_A, CountingGaussian::opt_B, and CountingGaussian::opt_C.
|
inline |
Definition at line 131 of file CountingGaussian.h.
References VariableSet::insertFrom(), and CountingGaussian::myVars.
|
inline |
Definition at line 134 of file CountingGaussian.h.
References VariableSet::getIndex(), and CountingGaussian::myVars.
|
inline |
Definition at line 256 of file CountingGaussian.h.
References qmcplusplus::dot().
Referenced by CountingGaussian::CountingGaussian(), and CountingGaussian::put().
|
inline |
Definition at line 352 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, and CountingGaussian::C.
Referenced by CountingGaussian::initialize(), and CountingGaussian::resetParameters().
Definition at line 361 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, qmcplusplus::dot(), qmcplusplus::exp(), and qmcplusplus::trace().
Referenced by CountingGaussian::evaluateDerivatives(), and qmcplusplus::TEST_CASE().
|
inline |
Definition at line 648 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, copy(), qmcplusplus::dot(), qmcplusplus::exp(), ParticleSet::R, and qmcplusplus::trace().
|
inline |
Definition at line 378 of file CountingGaussian.h.
References qmcplusplus::dot(), CountingGaussian::Fgrad, CountingGaussian::Flap, CountingGaussian::Fval, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
Referenced by CountingGaussian::evaluateDerivatives().
|
inline |
Definition at line 426 of file CountingGaussian.h.
References qmcplusplus::dot(), CountingGaussian::Fgrad, CountingGaussian::Flap, CountingGaussian::Fval, CountingGaussian::X, CountingGaussian::Y, and CountingGaussian::Z.
Referenced by CountingGaussian::evaluateDerivatives().
|
inline |
Definition at line 453 of file CountingGaussian.h.
References CountingGaussian::evaluate(), CountingGaussian::evaluateDerivative_A(), CountingGaussian::evaluateDerivative_B(), CountingGaussian::Fgrad, CountingGaussian::Flap, CountingGaussian::Fval, CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
Referenced by qmcplusplus::TEST_CASE().
Definition at line 370 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, qmcplusplus::dot(), and qmcplusplus::trace().
Referenced by qmcplusplus::TEST_CASE().
|
inline |
Definition at line 515 of file CountingGaussian.h.
References CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
Referenced by qmcplusplus::TEST_CASE().
Definition at line 593 of file CountingGaussian.h.
References CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
|
inline |
Definition at line 101 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, CountingGaussian::divide_eq(), CountingGaussian::gref, VariableSet::insert(), CountingGaussian::myVars, CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, optimize::OTHER_P, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
|
inline |
Definition at line 258 of file CountingGaussian.h.
References qmcplusplus::dot().
Referenced by CountingGaussian::CountingGaussian(), and CountingGaussian::put().
|
inline |
Definition at line 225 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, qmcplusplus::for(), CountingGaussian::myVars, CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, TinyVector< T, D >::size(), and Tensor< T, D >::size().
|
inline |
Definition at line 260 of file CountingGaussian.h.
References CountingGaussian::A, OhmmsAttributeSet::add(), APP_ABORT, qmcplusplus::app_log(), CountingGaussian::B, TinyVector< T, D >::begin(), CountingGaussian::C, CountingGaussian::d_to_b(), TinyVector< T, D >::end(), qmcplusplus::Units::energy::K, CountingGaussian::k_to_c(), CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, OhmmsAttributeSet::put(), putContent(), and CountingGaussian::triang_to_matrix().
Referenced by qmcplusplus::TEST_CASE().
|
inline |
Definition at line 216 of file CountingGaussian.h.
References qmcplusplus::app_log(), CountingGaussian::myVars, and VariableSet::print().
|
inline |
Definition at line 137 of file CountingGaussian.h.
References CountingGaussian::A, CountingGaussian::B, CountingGaussian::C, CountingGaussian::divide_eq(), VariableSet::getLoc(), CountingGaussian::gref, CountingGaussian::myVars, CountingGaussian::opt_A, CountingGaussian::opt_B, CountingGaussian::opt_C, CountingGaussian::X, CountingGaussian::XX, CountingGaussian::XY, CountingGaussian::XZ, CountingGaussian::Y, CountingGaussian::YY, CountingGaussian::YZ, CountingGaussian::Z, and CountingGaussian::ZZ.
|
inline |
Definition at line 129 of file CountingGaussian.h.
|
inline |
Definition at line 245 of file CountingGaussian.h.
Referenced by CountingGaussian::put().
Definition at line 70 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::divide_eq(), CountingGaussian::evaluate(), CountingGaussian::evaluate_print(), CountingGaussian::evaluateLog(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().
PosType B |
Definition at line 71 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::divide_eq(), CountingGaussian::evaluate(), CountingGaussian::evaluate_print(), CountingGaussian::evaluateLog(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().
RealType C |
Definition at line 72 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::divide_eq(), CountingGaussian::evaluate(), CountingGaussian::evaluate_print(), CountingGaussian::evaluateLog(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().
|
private |
Definition at line 66 of file CountingGaussian.h.
Referenced by CountingGaussian::evaluateDerivative_A(), CountingGaussian::evaluateDerivative_B(), and CountingGaussian::evaluateDerivatives().
|
private |
Definition at line 67 of file CountingGaussian.h.
Referenced by CountingGaussian::evaluateDerivative_A(), CountingGaussian::evaluateDerivative_B(), and CountingGaussian::evaluateDerivatives().
|
private |
Definition at line 65 of file CountingGaussian.h.
Referenced by CountingGaussian::evaluateDerivative_A(), CountingGaussian::evaluateDerivative_B(), and CountingGaussian::evaluateDerivatives().
|
private |
Definition at line 62 of file CountingGaussian.h.
Referenced by CountingGaussian::initialize(), and CountingGaussian::resetParameters().
|
private |
Definition at line 59 of file CountingGaussian.h.
opt_variables_type myVars |
Definition at line 75 of file CountingGaussian.h.
Referenced by CountingGaussian::checkInVariables(), CountingGaussian::checkOutVariables(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::reportStatus(), and CountingGaussian::resetParameters().
|
private |
Definition at line 54 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::evaluateDerivatives(), CountingGaussian::evaluateLogDerivatives(), CountingGaussian::evaluateLogTempDerivatives(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().
|
private |
Definition at line 55 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::evaluateDerivatives(), CountingGaussian::evaluateLogDerivatives(), CountingGaussian::evaluateLogTempDerivatives(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().
|
private |
Definition at line 56 of file CountingGaussian.h.
Referenced by CountingGaussian::CountingGaussian(), CountingGaussian::evaluateDerivatives(), CountingGaussian::evaluateLogDerivatives(), CountingGaussian::evaluateLogTempDerivatives(), CountingGaussian::initialize(), CountingGaussian::makeClone(), CountingGaussian::put(), and CountingGaussian::resetParameters().