Package ffx.potential.openmm
Class OpenMMDoubleArray3D
java.lang.Object
ffx.potential.openmm.OpenMMDoubleArray3D
OpenMM DoubleArray wrapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroy the array.com.sun.jna.ptr.PointerByReference
Get the pointer to the array.void
set
(int d1, int d2, OpenMMDoubleArray value) Set the value of the array at the given index.
-
Constructor Details
-
OpenMMDoubleArray3D
public OpenMMDoubleArray3D(int d1, int d2, int d3) Constructor.- Parameters:
d1
- The size of the first dimension.d2
- The size of the second dimension.d3
- The size of the third dimension.
-
-
Method Details
-
set
Set the value of the array at the given index.- Parameters:
d1
- The first dimension index.d2
- The second dimension index.value
- The value to set.
-
destroy
public void destroy()Destroy the array. -
getPointer
public com.sun.jna.ptr.PointerByReference getPointer()Get the pointer to the array.- Returns:
- The pointer.
-