itasca.vertexarray
Array interface for Itasca wall vertices.
Functions
-
itasca.vertexarray.
fill_pos
(data: array float{vertex, 3}) → None. Fill an existing array with the vertex location. The array must be the correct shape.
-
itasca.vertexarray.
fill_vel
(data: array float{vertex, 3}) → None. Fill an existing array with the vertex velocity. The array must be the correct shape.
-
itasca.vertexarray.
ids
() → array int{vertex}. Get the vertex ids as an array.
-
itasca.vertexarray.
pos
() → array float{vertex,3}. Get a numpy array of the vertex location.
-
itasca.vertexarray.
set_pos
(data: array float{vertex, 3}) → None. Set the vertex location from an array.
-
itasca.vertexarray.
set_vel
(data: array float{vertex, 3}) → None. Set the vertex velocity from an array.
-
itasca.vertexarray.
vel
() → array float{vertex,3}. Get a numpy array of the vertex velocity.
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |