Scine::Swoose
1.0.0
This is the SCINE module Swoose.
|
Class evaluating the total energy and derivatives from the electrostatic interactions. More...
#include <ElectrostaticEvaluator.h>
Public Member Functions | |
ElectrostaticEvaluator (const Utils::PositionCollection &positions, const std::vector< double > &atomicCharges) | |
Constructor from positions and partial atomic charges. | |
double | evaluate (Utils::FullSecondDerivativeCollection &derivatives) |
Function to evaluate and return the total electrostatic energy and update the derivatives. | |
void | setElectrostaticTerms (std::vector< ElectrostaticTerm > &&electrostaticTerms) |
Sets a vector of instances of the ElectrostaticTerm class. | |
const std::vector< double > & | getAtomicCharges () |
Constant accessor for the partial atomic charges. | |
void | setScalingFactor (const double &scalingFactor) |
Setter for the scaling factor for each atomic charge. | |
Friends | |
class | Qmmm::InteractionTermEliminator |
Class evaluating the total energy and derivatives from the electrostatic interactions.