Scine::Sparrow
5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
|
This header-only class performs the actual calculation of the multipole-multipole interaction. More...
#include <MultipoleMultipoleInteraction.h>
Public Member Functions | |
template<Utils::DerivativeOrder O> | |
Utils::AutomaticDifferentiation::Value1DType < O > | calculate (double R, double D1, double d2, double squaredRhos) const |
calculates the complete interaction between two multipoles whose single interactions have been stored in the private member std::list<MultipoleMultipoleTerms> terms_ More... | |
void | add (const MultipoleMultipoleTerm &m) |
add an interaction between two charges in the multipoles to the total interaction More... | |
unsigned int | size () const |
gets the current size of the std::list<MultipoleMultipoleTerm> containing the charge configurations | |
This header-only class performs the actual calculation of the multipole-multipole interaction.
First all the charge-charge configurations between two multipoles (MultipoleMultipoleTerm) are inferred and stored in a list, then they are calculated by calling MultipoleMultipoleTerm::calculate(...)
|
inline |
add an interaction between two charges in the multipoles to the total interaction
m | a MultipoleMultipoleTerm, i.e. a configuration of two charges in two multipoles to be calulated |
|
inline |
calculates the complete interaction between two multipoles whose single interactions have been stored in the private member std::list<MultipoleMultipoleTerms> terms_
O | order of the desired derivative, for the value this is 0. |
R | the distance between the centers of the multipoles |
D1 | the charge separation on the first multipole |
d2 | the charge separation on the second multipole |
squaredRhos | the Klopman–Ohno parameters to compute the repulsion in the Klopman approximation |