#include <ZeroCorrelationFunction.h>
Public Member Functions | |
void | initializeParameters (Array1D< int > &BeginningIndexOfParameterType, Array1D< double > &Parameters, Array1D< int > &BeginningIndexOfConstantType, Array1D< double > &Constants) |
Initializes the correlation function with a specified set of parameters. | |
void | evaluate (double r) |
Evaluates the correlation function and it's first two derivatives at . | |
bool | isSingular () |
Returns if the correlation function has a singularity in the domain , and false otherwise. | |
Array1D< Complex > | getPoles () |
Returns all of the poles of the correlation function. | |
double | getFunctionValue () |
Gets the value of the correlation function for the last evaluated . | |
double | getFunctionValue (double r) |
Evaluate the function as fast as possible by skipping the evaluation of the derivatives. | |
double | get_p_a (int ai) |
Partial derivative of function with respect to parameter ai. | |
double | getFirstDerivativeValue () |
Gets the value of the first derivative of the correlation function for the last evaluated . | |
double | get_p2_xa (int ai) |
Second Partial derivative of function with respect to parameters x and ai. | |
double | getSecondDerivativeValue () |
Gets the value of the second derivative of the correlation function for the last evaluated . | |
double | get_p3_xxa (int ai) |
Third Partial derivative of function with respect to parameters x, x, and ai. | |
Array1D< double > | getNumeratorCoeffs () |
Returns the coefficients for the numerator of the Jastrow's function. | |
Array1D< double > | getDenominatorCoeffs () |
Returns the coefficients for the denominator of the Jastrow's function. | |
virtual void | print (ostream &strm) |
Override this function if there's some Jastrow specific message you want to print. |
Definition at line 24 of file ZeroCorrelationFunction.h.
void ZeroCorrelationFunction::initializeParameters | ( | Array1D< int > & | BeginningIndexOfParameterType, | |
Array1D< double > & | Parameters, | |||
Array1D< int > & | BeginningIndexOfConstantType, | |||
Array1D< double > & | Constants | |||
) | [virtual] |
Initializes the correlation function with a specified set of parameters.
This must be called every time the parameters are changed.
Implements QMCCorrelationFunction.
Definition at line 16 of file ZeroCorrelationFunction.cpp.
void ZeroCorrelationFunction::evaluate | ( | double | r | ) | [virtual] |
Evaluates the correlation function and it's first two derivatives at .
Implements QMCCorrelationFunction.
Definition at line 24 of file ZeroCorrelationFunction.cpp.
bool ZeroCorrelationFunction::isSingular | ( | ) | [virtual] |
Returns if the correlation function has a singularity in the domain , and false otherwise.
Implements QMCCorrelationFunction.
Definition at line 28 of file ZeroCorrelationFunction.cpp.
Returns all of the poles of the correlation function.
Implements QMCCorrelationFunction.
Definition at line 33 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::getFunctionValue | ( | ) | [virtual] |
Gets the value of the correlation function for the last evaluated .
Implements QMCCorrelationFunction.
Definition at line 39 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::getFunctionValue | ( | double | r | ) | [virtual] |
Evaluate the function as fast as possible by skipping the evaluation of the derivatives.
Implements QMCCorrelationFunction.
Definition at line 44 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::get_p_a | ( | int | ai | ) | [virtual] |
Partial derivative of function with respect to parameter ai.
Implements QMCCorrelationFunction.
Definition at line 49 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::getFirstDerivativeValue | ( | ) | [virtual] |
Gets the value of the first derivative of the correlation function for the last evaluated .
Implements QMCCorrelationFunction.
Definition at line 54 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::get_p2_xa | ( | int | ai | ) | [virtual] |
Second Partial derivative of function with respect to parameters x and ai.
Implements QMCCorrelationFunction.
Definition at line 59 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::getSecondDerivativeValue | ( | ) | [virtual] |
Gets the value of the second derivative of the correlation function for the last evaluated .
Implements QMCCorrelationFunction.
Definition at line 64 of file ZeroCorrelationFunction.cpp.
double ZeroCorrelationFunction::get_p3_xxa | ( | int | ai | ) | [virtual] |
Third Partial derivative of function with respect to parameters x, x, and ai.
Implements QMCCorrelationFunction.
Definition at line 69 of file ZeroCorrelationFunction.cpp.
Array1D< double > ZeroCorrelationFunction::getNumeratorCoeffs | ( | ) | [virtual] |
Returns the coefficients for the numerator of the Jastrow's function.
Implements QMCCorrelationFunction.
Definition at line 74 of file ZeroCorrelationFunction.cpp.
Array1D< double > ZeroCorrelationFunction::getDenominatorCoeffs | ( | ) | [virtual] |
Returns the coefficients for the denominator of the Jastrow's function.
Implements QMCCorrelationFunction.
Definition at line 81 of file ZeroCorrelationFunction.cpp.
virtual void QMCCorrelationFunction::print | ( | ostream & | strm | ) | [inline, virtual, inherited] |
Override this function if there's some Jastrow specific message you want to print.
It will be called right after the Jastrow is initialized.
Reimplemented in Anderson2CorrelationFunction, Cambridge2CorrelationFunction, FixedCuspPadeCorrelationFunction, Umrigar2CorrelationFunction, Williamson2CorrelationFunction, and Yukawa2CorrelationFunction.
Definition at line 117 of file QMCCorrelationFunction.h.
Referenced by QMCJastrowParameters::print(), and QMCJastrowParameters::read().