DPFArray#

class ansys.dpf.core.dpf_array.DPFArray(vec)#

Overload of numpy ndarray <https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html>`_ managing DPFVector (memory owner of vector data in DPF C APIs) memory and updates.

Parameters:

vec (DPFVectorBase) – DPFVector instance to manage and optionally update when the DPFArray is deleted or committed.

commit()#

Updates the data server side when necessary