8 #ifndef SWOOSE_SCALEDINTERACTIONS_H
9 #define SWOOSE_SCALEDINTERACTIONS_H
11 #include <Eigen/Sparse>
14 namespace MolecularMechanics {
15 class IndexedStructuralTopology;
66 Eigen::SparseMatrix<bool> scaledAtomPairs_;
67 double scalingFactor_ = 0.5;
73 #endif // SWOOSE_SCALEDINTERACTIONS_H
Class containing the structural information about the connectivity of a system.
Definition: IndexedStructuralTopology.h:25
This class keeps track which pair-wise interaction between atoms is scaled. The scaling information i...
Definition: ScaledInteractions.h:22
double getInteractionScalingFactor()
Getter for the interaction scaling factor.
Definition: ScaledInteractions.cpp:42
void setInteractionScalingFactor(const double &factor)
Setter for the interaction scaling factor.
Definition: ScaledInteractions.cpp:38
const Eigen::SparseMatrix< bool > & getScaledInteractionPairs()
Getter for scaling information.
Definition: ScaledInteractions.cpp:34
void setScaledInteractionPairs(const Eigen::SparseMatrix< bool > &pairs)
Setter for the scaling information.
Definition: ScaledInteractions.cpp:18
void addScaledInteractionPairs(const Eigen::SparseMatrix< bool > &pairs)
Add new scaled interactions.
Definition: ScaledInteractions.cpp:26
ScaledInteractions(unsigned int nAtoms)
Constructor.
Definition: ScaledInteractions.cpp:14
void resetScaledInteractions(unsigned int nAtoms)
Resize the scaling information matrix to the nem number of atoms.
Definition: ScaledInteractions.cpp:56