Scine::Sparrow
5.0.0
Library for fast and agile quantum chemical calculations with semiempirical methods.
|
Class resposible for the calculation of the dipole in the NDDO methods. It must be able to calculate the dipole both with the NDDO approximation and with the use of the dipole matrix. More...
#include <NDDODipoleMomentCalculator.h>
Public Member Functions | |
Eigen::RowVector3d | calculate () const final |
Calculates the molecular electrical dipole moment. More... | |
void | useNDDOApproximation (bool useNDDOApprox) |
Sets wether to use the NDDO dipole approximation or calculate the dipole from the dipole matrix. More... | |
Static Public Member Functions | |
static std::unique_ptr < NDDODipoleMomentCalculator < NDDOMethod > > | create (NDDOMethod &method, DipoleMatrixCalculator &dipoleMatrixCalculator) |
Factory method for the NDDODipoleMomentCalculator class. More... | |
Class resposible for the calculation of the dipole in the NDDO methods. It must be able to calculate the dipole both with the NDDO approximation and with the use of the dipole matrix.
NDDOMethod | An NDDO method, must derive from Utils::ScfMethod and must have the method getInitializer. getInitializer must return a valid NDDOInitializer instance. |
|
finalvirtual |
Calculates the molecular electrical dipole moment.
Implements Scine::Sparrow::DipoleMomentCalculator.
|
static |
Factory method for the NDDODipoleMomentCalculator class.
method | An NDDO method, i.e. PM6Method, MNDOMethod, AM1Method,... |
dipoleMatrixCalculator | An instance to the class calculating the dipole matrix. |
void Scine::Sparrow::NDDODipoleMomentCalculator< NDDOMethod >::useNDDOApproximation | ( | bool | useNDDOApprox | ) |
Sets wether to use the NDDO dipole approximation or calculate the dipole from the dipole matrix.
useNDDOApprox | The flag present in the method wrapper settings. |