Source code for intermol.forces.abstract_pair_type

from abstract_type import AbstractType


[docs]class AbstractPairType(AbstractType): __slots__ = ['bondingtype1', 'bondingtype2', 'scaleLJ', 'scaleQQ', 'long'] def __init__(self, bondingtype1, bondingtype2, scaleLJ=None, scaleQQ=None, long=False): super(AbstractPairType, self).__init__() self.bondingtype1 = bondingtype1 self.bondingtype2 = bondingtype2 self.scaleLJ = scaleLJ self.scaleQQ = scaleQQ self.long = long