Package ffx.openmm
Class DoubleArray3D
java.lang.Object
ffx.openmm.DoubleArray3D
DoubleArray3D.
-
Constructor Summary
-
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, DoubleArray value) Set the value of the array at the given index.
-
Constructor Details
-
DoubleArray3D
public DoubleArray3D(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.
-