45#include "primitives/ShortRangeInteraction.hpp"
51 ShortRangeInteraction::ShortRangeInteraction() :
52 globalIndex_(-1), localIndex_(-1) {}
54 ShortRangeInteraction::~ShortRangeInteraction() {}
56 RealType ShortRangeInteraction::getValue() {
57 int id = snapshotMan_->getCurrentSnapshot()->getID();
61 RealType ShortRangeInteraction::getPrevValue() {
62 int id = snapshotMan_->getPrevSnapshot()->getID();
66 void ShortRangeInteraction::addProperty(
67 std::shared_ptr<GenericData> genData) {
68 properties_.addProperty(genData);
71 void ShortRangeInteraction::removeProperty(
const std::string& propName) {
72 properties_.removeProperty(propName);
75 std::vector<std::string> ShortRangeInteraction::getPropertyNames() {
76 return properties_.getPropertyNames();
79 std::vector<std::shared_ptr<GenericData>>
80 ShortRangeInteraction::getProperties() {
81 return properties_.getProperties();
84 std::shared_ptr<GenericData> ShortRangeInteraction::getPropertyByName(
85 const std::string& propName) {
86 return properties_.getPropertyByName(propName);
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.