Class OpenMMDoubleArray3D

java.lang.Object
ffx.potential.openmm.OpenMMDoubleArray3D

public class OpenMMDoubleArray3D extends Object
OpenMM DoubleArray wrapper.
  • 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

      public void set(int d1, int d2, OpenMMDoubleArray value)
      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.