gp.disp
Syntax
Vector Access
- v = gp.disp(gp<,i>)
- gp.disp(gp<,i>) = v
Get/set the displacement vector for the gridpoint. Returns a vector, unless an optional component argument i is supplied, in which case it returns the component value.
Note that in FLAC3D, displacement vectors are accumulated from velocities and timesteps every cycle. They have no direct effect on the model state. Displacements can be changed at any time without changing the forces or stresses in the model.
Returns: v - displacement vector or component
Accepts: v - displacement vector or component
Arguments: gp - gridpoint pointer
Component Access
- f = gp.disp.x(gp)
- gp.disp.x(gp) = f
Get/set the x-component displacement vector.
Returns: f - x-component displacement vector Accepts: f - x-component displacement vector Arguments: gp - gridpoint pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |