# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
if _swig_python_version_info < (2, 7, 0):
    raise RuntimeError("Python 2.7 or later required")

# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _OpenMMDeepmdPlugin
else:
    import _OpenMMDeepmdPlugin

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except __builtin__.Exception:
        strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)


import simtk.openmm
class SwigPyIterator(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_SwigPyIterator

    def value(self):
        return _OpenMMDeepmdPlugin.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _OpenMMDeepmdPlugin.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _OpenMMDeepmdPlugin.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _OpenMMDeepmdPlugin.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _OpenMMDeepmdPlugin.SwigPyIterator_equal(self, x)

    def copy(self):
        return _OpenMMDeepmdPlugin.SwigPyIterator_copy(self)

    def next(self):
        return _OpenMMDeepmdPlugin.SwigPyIterator_next(self)

    def __next__(self):
        return _OpenMMDeepmdPlugin.SwigPyIterator___next__(self)

    def previous(self):
        return _OpenMMDeepmdPlugin.SwigPyIterator_previous(self)

    def advance(self, n):
        return _OpenMMDeepmdPlugin.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _OpenMMDeepmdPlugin.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _OpenMMDeepmdPlugin.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _OpenMMDeepmdPlugin.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _OpenMMDeepmdPlugin.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _OpenMMDeepmdPlugin.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _OpenMMDeepmdPlugin.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self

# Register SwigPyIterator in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.SwigPyIterator_swigregister(SwigPyIterator)

class IntVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _OpenMMDeepmdPlugin.IntVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _OpenMMDeepmdPlugin.IntVector___nonzero__(self)

    def __bool__(self):
        return _OpenMMDeepmdPlugin.IntVector___bool__(self)

    def __len__(self):
        return _OpenMMDeepmdPlugin.IntVector___len__(self)

    def __getslice__(self, i, j):
        return _OpenMMDeepmdPlugin.IntVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _OpenMMDeepmdPlugin.IntVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _OpenMMDeepmdPlugin.IntVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _OpenMMDeepmdPlugin.IntVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _OpenMMDeepmdPlugin.IntVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _OpenMMDeepmdPlugin.IntVector___setitem__(self, *args)

    def pop(self):
        return _OpenMMDeepmdPlugin.IntVector_pop(self)

    def append(self, x):
        return _OpenMMDeepmdPlugin.IntVector_append(self, x)

    def empty(self):
        return _OpenMMDeepmdPlugin.IntVector_empty(self)

    def size(self):
        return _OpenMMDeepmdPlugin.IntVector_size(self)

    def swap(self, v):
        return _OpenMMDeepmdPlugin.IntVector_swap(self, v)

    def begin(self):
        return _OpenMMDeepmdPlugin.IntVector_begin(self)

    def end(self):
        return _OpenMMDeepmdPlugin.IntVector_end(self)

    def rbegin(self):
        return _OpenMMDeepmdPlugin.IntVector_rbegin(self)

    def rend(self):
        return _OpenMMDeepmdPlugin.IntVector_rend(self)

    def clear(self):
        return _OpenMMDeepmdPlugin.IntVector_clear(self)

    def get_allocator(self):
        return _OpenMMDeepmdPlugin.IntVector_get_allocator(self)

    def pop_back(self):
        return _OpenMMDeepmdPlugin.IntVector_pop_back(self)

    def erase(self, *args):
        return _OpenMMDeepmdPlugin.IntVector_erase(self, *args)

    def __init__(self, *args):
        _OpenMMDeepmdPlugin.IntVector_swiginit(self, _OpenMMDeepmdPlugin.new_IntVector(*args))

    def push_back(self, x):
        return _OpenMMDeepmdPlugin.IntVector_push_back(self, x)

    def front(self):
        return _OpenMMDeepmdPlugin.IntVector_front(self)

    def back(self):
        return _OpenMMDeepmdPlugin.IntVector_back(self)

    def assign(self, n, x):
        return _OpenMMDeepmdPlugin.IntVector_assign(self, n, x)

    def resize(self, *args):
        return _OpenMMDeepmdPlugin.IntVector_resize(self, *args)

    def insert(self, *args):
        return _OpenMMDeepmdPlugin.IntVector_insert(self, *args)

    def reserve(self, n):
        return _OpenMMDeepmdPlugin.IntVector_reserve(self, n)

    def capacity(self):
        return _OpenMMDeepmdPlugin.IntVector_capacity(self)
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_IntVector

# Register IntVector in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.IntVector_swigregister(IntVector)

class DoubleVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _OpenMMDeepmdPlugin.DoubleVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _OpenMMDeepmdPlugin.DoubleVector___nonzero__(self)

    def __bool__(self):
        return _OpenMMDeepmdPlugin.DoubleVector___bool__(self)

    def __len__(self):
        return _OpenMMDeepmdPlugin.DoubleVector___len__(self)

    def __getslice__(self, i, j):
        return _OpenMMDeepmdPlugin.DoubleVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _OpenMMDeepmdPlugin.DoubleVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector___setitem__(self, *args)

    def pop(self):
        return _OpenMMDeepmdPlugin.DoubleVector_pop(self)

    def append(self, x):
        return _OpenMMDeepmdPlugin.DoubleVector_append(self, x)

    def empty(self):
        return _OpenMMDeepmdPlugin.DoubleVector_empty(self)

    def size(self):
        return _OpenMMDeepmdPlugin.DoubleVector_size(self)

    def swap(self, v):
        return _OpenMMDeepmdPlugin.DoubleVector_swap(self, v)

    def begin(self):
        return _OpenMMDeepmdPlugin.DoubleVector_begin(self)

    def end(self):
        return _OpenMMDeepmdPlugin.DoubleVector_end(self)

    def rbegin(self):
        return _OpenMMDeepmdPlugin.DoubleVector_rbegin(self)

    def rend(self):
        return _OpenMMDeepmdPlugin.DoubleVector_rend(self)

    def clear(self):
        return _OpenMMDeepmdPlugin.DoubleVector_clear(self)

    def get_allocator(self):
        return _OpenMMDeepmdPlugin.DoubleVector_get_allocator(self)

    def pop_back(self):
        return _OpenMMDeepmdPlugin.DoubleVector_pop_back(self)

    def erase(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector_erase(self, *args)

    def __init__(self, *args):
        _OpenMMDeepmdPlugin.DoubleVector_swiginit(self, _OpenMMDeepmdPlugin.new_DoubleVector(*args))

    def push_back(self, x):
        return _OpenMMDeepmdPlugin.DoubleVector_push_back(self, x)

    def front(self):
        return _OpenMMDeepmdPlugin.DoubleVector_front(self)

    def back(self):
        return _OpenMMDeepmdPlugin.DoubleVector_back(self)

    def assign(self, n, x):
        return _OpenMMDeepmdPlugin.DoubleVector_assign(self, n, x)

    def resize(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector_resize(self, *args)

    def insert(self, *args):
        return _OpenMMDeepmdPlugin.DoubleVector_insert(self, *args)

    def reserve(self, n):
        return _OpenMMDeepmdPlugin.DoubleVector_reserve(self, n)

    def capacity(self):
        return _OpenMMDeepmdPlugin.DoubleVector_capacity(self)
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_DoubleVector

# Register DoubleVector in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.DoubleVector_swigregister(DoubleVector)

class StringVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _OpenMMDeepmdPlugin.StringVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _OpenMMDeepmdPlugin.StringVector___nonzero__(self)

    def __bool__(self):
        return _OpenMMDeepmdPlugin.StringVector___bool__(self)

    def __len__(self):
        return _OpenMMDeepmdPlugin.StringVector___len__(self)

    def __getslice__(self, i, j):
        return _OpenMMDeepmdPlugin.StringVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _OpenMMDeepmdPlugin.StringVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _OpenMMDeepmdPlugin.StringVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _OpenMMDeepmdPlugin.StringVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _OpenMMDeepmdPlugin.StringVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _OpenMMDeepmdPlugin.StringVector___setitem__(self, *args)

    def pop(self):
        return _OpenMMDeepmdPlugin.StringVector_pop(self)

    def append(self, x):
        return _OpenMMDeepmdPlugin.StringVector_append(self, x)

    def empty(self):
        return _OpenMMDeepmdPlugin.StringVector_empty(self)

    def size(self):
        return _OpenMMDeepmdPlugin.StringVector_size(self)

    def swap(self, v):
        return _OpenMMDeepmdPlugin.StringVector_swap(self, v)

    def begin(self):
        return _OpenMMDeepmdPlugin.StringVector_begin(self)

    def end(self):
        return _OpenMMDeepmdPlugin.StringVector_end(self)

    def rbegin(self):
        return _OpenMMDeepmdPlugin.StringVector_rbegin(self)

    def rend(self):
        return _OpenMMDeepmdPlugin.StringVector_rend(self)

    def clear(self):
        return _OpenMMDeepmdPlugin.StringVector_clear(self)

    def get_allocator(self):
        return _OpenMMDeepmdPlugin.StringVector_get_allocator(self)

    def pop_back(self):
        return _OpenMMDeepmdPlugin.StringVector_pop_back(self)

    def erase(self, *args):
        return _OpenMMDeepmdPlugin.StringVector_erase(self, *args)

    def __init__(self, *args):
        _OpenMMDeepmdPlugin.StringVector_swiginit(self, _OpenMMDeepmdPlugin.new_StringVector(*args))

    def push_back(self, x):
        return _OpenMMDeepmdPlugin.StringVector_push_back(self, x)

    def front(self):
        return _OpenMMDeepmdPlugin.StringVector_front(self)

    def back(self):
        return _OpenMMDeepmdPlugin.StringVector_back(self)

    def assign(self, n, x):
        return _OpenMMDeepmdPlugin.StringVector_assign(self, n, x)

    def resize(self, *args):
        return _OpenMMDeepmdPlugin.StringVector_resize(self, *args)

    def insert(self, *args):
        return _OpenMMDeepmdPlugin.StringVector_insert(self, *args)

    def reserve(self, n):
        return _OpenMMDeepmdPlugin.StringVector_reserve(self, n)

    def capacity(self):
        return _OpenMMDeepmdPlugin.StringVector_capacity(self)
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_StringVector

# Register StringVector in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.StringVector_swigregister(StringVector)

class ConstCharVector(object):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def iterator(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _OpenMMDeepmdPlugin.ConstCharVector___nonzero__(self)

    def __bool__(self):
        return _OpenMMDeepmdPlugin.ConstCharVector___bool__(self)

    def __len__(self):
        return _OpenMMDeepmdPlugin.ConstCharVector___len__(self)

    def __getslice__(self, i, j):
        return _OpenMMDeepmdPlugin.ConstCharVector___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _OpenMMDeepmdPlugin.ConstCharVector___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector___delitem__(self, *args)

    def __getitem__(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector___getitem__(self, *args)

    def __setitem__(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector___setitem__(self, *args)

    def pop(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_pop(self)

    def append(self, x):
        return _OpenMMDeepmdPlugin.ConstCharVector_append(self, x)

    def empty(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_empty(self)

    def size(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_size(self)

    def swap(self, v):
        return _OpenMMDeepmdPlugin.ConstCharVector_swap(self, v)

    def begin(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_begin(self)

    def end(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_end(self)

    def rbegin(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_rbegin(self)

    def rend(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_rend(self)

    def clear(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_clear(self)

    def get_allocator(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_get_allocator(self)

    def pop_back(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_pop_back(self)

    def erase(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector_erase(self, *args)

    def __init__(self, *args):
        _OpenMMDeepmdPlugin.ConstCharVector_swiginit(self, _OpenMMDeepmdPlugin.new_ConstCharVector(*args))

    def push_back(self, x):
        return _OpenMMDeepmdPlugin.ConstCharVector_push_back(self, x)

    def front(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_front(self)

    def back(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_back(self)

    def assign(self, n, x):
        return _OpenMMDeepmdPlugin.ConstCharVector_assign(self, n, x)

    def resize(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector_resize(self, *args)

    def insert(self, *args):
        return _OpenMMDeepmdPlugin.ConstCharVector_insert(self, *args)

    def reserve(self, n):
        return _OpenMMDeepmdPlugin.ConstCharVector_reserve(self, n)

    def capacity(self):
        return _OpenMMDeepmdPlugin.ConstCharVector_capacity(self)
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_ConstCharVector

# Register ConstCharVector in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.ConstCharVector_swigregister(ConstCharVector)

class DeepmdForce(simtk.openmm.Force):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _OpenMMDeepmdPlugin.new_DeepmdForce(args[0], args[1], args[2], args[3])
        try:
            self.this.append(this)
        except Exception:
            self.this = this



    def addParticle(self, particleIndex, particleType):
        return _OpenMMDeepmdPlugin.DeepmdForce_addParticle(self, particleIndex, particleType)

    def addType(self, typeIndex, Type):
        return _OpenMMDeepmdPlugin.DeepmdForce_addType(self, typeIndex, Type)

    def addBond(self, particle1, particle2):
        return _OpenMMDeepmdPlugin.DeepmdForce_addBond(self, particle1, particle2)

    def setGPUNode(self, gpu_id):
        return _OpenMMDeepmdPlugin.DeepmdForce_setGPUNode(self, gpu_id)

    def setPBC(self, use_pbc):
        return _OpenMMDeepmdPlugin.DeepmdForce_setPBC(self, use_pbc)

    def setUnitTransformCoefficients(self, coordCoefficient, forceCoefficient, energyCoefficient):
        return _OpenMMDeepmdPlugin.DeepmdForce_setUnitTransformCoefficients(self, coordCoefficient, forceCoefficient, energyCoefficient)

    def setAlchemical(self, used4Alchemical):
        return _OpenMMDeepmdPlugin.DeepmdForce_setAlchemical(self, used4Alchemical)

    def setAtomsIndex4Graph1(self, atomsIndex):
        return _OpenMMDeepmdPlugin.DeepmdForce_setAtomsIndex4Graph1(self, atomsIndex)

    def setAtomsIndex4Graph2(self, atomsIndex):
        return _OpenMMDeepmdPlugin.DeepmdForce_setAtomsIndex4Graph2(self, atomsIndex)

    def setLambda(self, _lambda):
        return _OpenMMDeepmdPlugin.DeepmdForce_setLambda(self, _lambda)

    @staticmethod
    def cast(force):
        return _OpenMMDeepmdPlugin.DeepmdForce_cast(force)

    @staticmethod
    def isinstance(force):
        return _OpenMMDeepmdPlugin.DeepmdForce_isinstance(force)
    __swig_destroy__ = _OpenMMDeepmdPlugin.delete_DeepmdForce

# Register DeepmdForce in _OpenMMDeepmdPlugin:
_OpenMMDeepmdPlugin.DeepmdForce_swigregister(DeepmdForce)

def DeepmdForce_cast(force):
    return _OpenMMDeepmdPlugin.DeepmdForce_cast(force)

def DeepmdForce_isinstance(force):
    return _OpenMMDeepmdPlugin.DeepmdForce_isinstance(force)



