BALL
1.4.2
|
#include <BALL/SOLVATION/pair6_12RDFIntegrator.h>
Classes | |
struct | Default |
struct | Option |
Public Types | |
enum | IntegrationMethod { METHOD__UNKNOWN = 0, METHOD__ANALYTICAL = 1, METHOD__TRAPEZIUM = 2 } |
Public Attributes | |
Options | options |
Protected Attributes | |
double | A_ |
double | B_ |
double | k1_ |
double | k2_ |
Protected Attributes inherited from BALL::RDFIntegrator | |
RadialDistributionFunction | rdf_ |
bool | valid_ |
Private Member Functions | |
double | analyticallyIntegrateInterval (const Interval &interval, const Coefficients &coeffs, float x0) const |
double | numericallyIntegrateInterval (const Interval &interval) const |
double | project (double x) const |
double | unproject (double x) const |
6-12 pair potential integrator. This class provides a tool for calculating the integral part of the van-der-Waals interaction energies. The difference to the values calculated with the standard interaction energy processor is the inclusion of a radial distribution function (
Definition at line 34 of file pair6_12RDFIntegrator.h.
The available methods for integration
Enumerator | |
---|---|
METHOD__UNKNOWN | |
METHOD__ANALYTICAL | |
METHOD__TRAPEZIUM |
Definition at line 89 of file pair6_12RDFIntegrator.h.
BALL::Pair6_12RDFIntegrator::Pair6_12RDFIntegrator | ( | ) |
Default constructor
BALL::Pair6_12RDFIntegrator::Pair6_12RDFIntegrator | ( | const Pair6_12RDFIntegrator & | integrator | ) |
Copy constructor
integrator | the integrator we want to copy |
BALL::Pair6_12RDFIntegrator::Pair6_12RDFIntegrator | ( | double | A, |
double | B, | ||
double | k1, | ||
double | k2, | ||
const RadialDistributionFunction & | rdf | ||
) |
Detailed constructor
A | repulsion constant of the 6-12 potential in units of ... |
B | dispersion constant of the 6-12 potential in units of ... |
k1 | geometric correction constant |
k2 | geometric correction constant |
rdf | a radial distribution function |
|
virtual |
Destructor
|
private |
|
virtual |
Clear method
Reimplemented from BALL::RDFIntegrator.
|
virtual |
Dumps the whole content of the object
s | an ostream, defaults to std::cout |
depth | the indentation depth of the output |
Get the constants from this processor.
A | repulsion constant of the 6-12 potential in units of ... |
B | dispersion constant of the 6-12 potential in units of ... |
k1 | geometric correction constant |
k2 | geometric correction constant |
Integrate from from
to to
using previously assigned constants
from | the lower limit |
to | the upper limit |
double BALL::Pair6_12RDFIntegrator::integrate | ( | double | from, |
double | to, | ||
double | A, | ||
double | B, | ||
double | k1, | ||
double | k2 | ||
) |
Integrate from from
to to
using the specified constants
from | the lower limit of integration |
to | the upper limit |
A | repulsion constant of the 6-12 potential in units of ... |
B | dispersion constant of the 6-12 potential in units of ... |
k1 | geometric correction constant |
k2 | geometric correction constant |
Integrate to Infinity from from
using previously set constants
from | the lower limit of integration |
double BALL::Pair6_12RDFIntegrator::integrateToInf | ( | double | from, |
double | A, | ||
double | B, | ||
double | k1, | ||
double | k2 | ||
) |
Integrate from from
to infinity using the specified constants
A | repulsion constant of the 6-12 potential in units of ... |
B | dispersion constant of the 6-12 potential in units of ... |
k1 | geometric correction constant |
k2 | geometric correction constant |
from | the lower limit of integration |
|
private |
Default operation, integrate from x
to infinity using previously assigned constants.
x | the lower limit of the integration to infinity |
Reimplemented from BALL::RDFIntegrator.
const Pair6_12RDFIntegrator& BALL::Pair6_12RDFIntegrator::operator= | ( | const Pair6_12RDFIntegrator & | integrator | ) |
Assignment operator
integrator | the integrator to assign from |
this
bool BALL::Pair6_12RDFIntegrator::operator== | ( | const Pair6_12RDFIntegrator & | integrator | ) | const |
Equality operator. Tests whether two instances of Pair6_12RDFIntegrator have the same content.
integrator | another instance of Pair6_12RDFIntegrator |
Set the constants for the integration, usually done by the calling energy processor.
A | repulsion constant of the 6-12 potential in units of ... |
B | dispersion constant of the 6-12 potential in units of ... |
k1 | geometric correction constant |
k2 | geometric correction constant |
|
protected |
Definition at line 238 of file pair6_12RDFIntegrator.h.
|
protected |
Definition at line 242 of file pair6_12RDFIntegrator.h.
|
protected |
Definition at line 246 of file pair6_12RDFIntegrator.h.
|
protected |
Definition at line 250 of file pair6_12RDFIntegrator.h.
Options BALL::Pair6_12RDFIntegrator::options |
The options of this Integrator (
Definition at line 219 of file pair6_12RDFIntegrator.h.