itasca.gridpointarray
Note
In the description below, \(dim\) = 2 in 2D case and \(dim\) = 3 in 3D case.
Array interface for FLAC3D gridpoints.
Functions
- itasca.gridpointarray.accel() (array double{gridpoint,dim}).
Get a NumPy array of the acceleration of each gridpoint.
- itasca.gridpointarray.disp() array float{gridpoint,dim}.
Get a NumPy array of the gridpoint displacement.
- itasca.gridpointarray.extra(slot: int) array float{gridpoint} or float{gridpoint,dim}.
Get the gridpoint extra data in the given slot as an array. Extra variables accessed by array must be of type float or vec.
- itasca.gridpointarray.fill_disp(data: array float{gridpoint, dim}) None.
Fill an existing array with the gridpoint displacement. The array must be the correct shape.
- itasca.gridpointarray.fill_force_app(data: array float{gridpoint, dim}) None.
Fill an existing array with the gridpoint applied force. The array must be the correct shape.
- itasca.gridpointarray.fill_force_unbal(data: array float{gridpoint, dim}) None.
Fill an existing array with the gridpoint unbalanced force. The array must be the correct shape.
- itasca.gridpointarray.fill_pos(data: array float{gridpoint, dim}) None.
Fill an existing array with the gridpoint centroid location. The array must be the correct shape.
- itasca.gridpointarray.fill_vel(data: array float{gridpoint, dim}) None.
Fill an existing array with the gridpoint velocity. The array must be the correct shape.
- itasca.gridpointarray.fixity() array int{gridpoint,dim}.
Get a NumPy array of the gridpoint fixity condition.
- itasca.gridpointarray.flow() array double{gridpoint}.
Get a NumPy array of the unbalanced flow discharge at each gridpoint.
- itasca.gridpointarray.flux() array double{gridpoint}.
Get the unbalanced thermal flux at a each gridpoint as a NumPy array.
- itasca.gridpointarray.force_app() array float{gridpoint,dim}.
Get a NumPy array of the gridpoint applied force.
- itasca.gridpointarray.force_unbal() array float{gridpoint,dim}.
Get a NumPy array of the gridpoint unbalanced force.
- itasca.gridpointarray.ids() array int{gridpoint}.
Get the gridpoint ids as an array.
- itasca.gridpointarray.live_mechanical() array bool{nzone}.
Return an array of True/False values for each gridpoint, a value of True indicates that a gridpoint is attached to at least one zone with an active mechanical model.
- itasca.gridpointarray.porepressure() array double{gridpoint}.
Get a NumPy array of the porepressure at each gridpoint.
- itasca.gridpointarray.pos() array float{gridpoint,dim}.
Get a NumPy array of the gridpoint centroid location.
- itasca.gridpointarray.set_disp(data: array float{gridpoint, dim}) None.
Set the gridpoint displacement from an array.
- itasca.gridpointarray.set_extra(slot: int, data: array float{gridpoint} or float{gridpoint, dim}) None.
Set the gridpoint extra data in the given slot with an array. Extra variables set by array must be of type float or vec.
- itasca.gridpointarray.set_fixity(array bool{gridpoint, dim}) None.
Set the gridpoint fixity condition.
- itasca.gridpointarray.set_flow(array double{gridpoint, dim}) None.
Set the unbalanced flow discharge at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_force_app(data: array float{gridpoint, dim}) None.
Set the gridpoint applied force from an array.
- itasca.gridpointarray.set_porepressure(array double{gridpoint, dim}) None.
Set the pore pressure at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_pos(data: array float{gridpoint, dim}) None.
Set the gridpoint centroid location from an array.
- itasca.gridpointarray.set_temperature(array double{gridpoint, dim}) None.
Set the temperature at each gridpoint with a NumPy array.
- itasca.gridpointarray.set_vel(data: array float{gridpoint, dim}) None.
Set the gridpoint velocity from an array.
- itasca.gridpointarray.stiffness() array double{gridpoint}.
Get a NumPy array of the accumulated gridpoint effective stiffness.
- itasca.gridpointarray.temperature() array double{gridpoint}.
Get a NumPy array of the temperature at each gridpoint.
- itasca.gridpointarray.vel() array float{gridpoint,dim}.
Get a NumPy array of the gridpoint velocity.
- itasca.gridpointarray.zones() tuple of tuples of int.
Return the indices of the zones which each gridpoint is attached to. The indices are relative to the arrays returned by the zonearray interface functions. Note that the return type is not a NumPy array in this case.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |