Discrete2DFunction

class openmm.openmm.Discrete2DFunction(xsize, ysize, values)

This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). To evaluate it, x and y are each rounded to the nearest integer and the table element with those indices is returned. If either index is outside the range [0, size), the result is undefined.

__init__(self, xsize, ysize, values)Discrete2DFunction

This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). To evaluate it, x and y are each rounded to the nearest integer and the table element with those indices is returned. If either index is outside the range [0, size), the result is undefined.

Methods

Copy(self)

__init__(self, xsize, ysize, values)

This is a TabulatedFunction that computes a discrete two dimensional function f(x,y).

getFunctionParameters(self)

getPeriodic(self)

Get the periodicity status of the tabulated function.

setFunctionParameters(self, xsize, ysize, values)

Attributes

thisown

The membership flag

property thisown

The membership flag

getFunctionParameters(self)
setFunctionParameters(self, xsize, ysize, values)
Copy(self)Discrete2DFunction

Deprecated

This will be removed in a future release.

__copy__(self)TabulatedFunction
getPeriodic(self)bool

Get the periodicity status of the tabulated function.