Scine::Swoose
1.0.0
This is the SCINE module Swoose.
|
Class evaluating electrostatic interaction between two atoms. More...
#include <LennardJonesTerm.h>
Public Types | |
using | AtomIndex = int |
Public Member Functions | |
LennardJonesTerm (AtomIndex firstAtom, AtomIndex secondAtom, const LennardJones &lj, std::shared_ptr< double > cutoffRadius) | |
Constructor from two atom indices and an instance of the LennardJones class. | |
double | evaluateLennardJonesTerm (const Utils::PositionCollection &positions, Utils::FullSecondDerivativeCollection &derivatives) const |
Evaluates energy contribution and adds the derivatives. | |
int | getFirstAtom () const |
Getter for index of first atom. | |
int | getSecondAtom () const |
Getter for index of second atom. | |
![]() | |
void | disable () |
Disable this term. If it is disabled, the interaction is included in the MM model. Needed for the QM/MM calculator to switch specific interactions off and on. | |
void | enable () |
Enable this term. If it is enabled, the interaction is included in the MM model. Needed for the QM/MM calculator to switch specific interactions off and on. | |
Additional Inherited Members | |
![]() | |
bool | disabled_ = false |
Class evaluating electrostatic interaction between two atoms.