block.gp.disp
Syntax
Vector Access
- v/f = block.gp.disp(bgpp<,i>)
- block.gp.disp(bgpp<,i>) = v/f
Get/set the gridpoint displacement. If the optional argument i is supplied, the return value/assignment is restricted by vector component (1 = \(x\), 2 = \(y\), 3 = \(z\)).
Note that in 3DEC, 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 or f - displacement vector or component Accepts: v or f - displacement vector or component Arguments: bgpp - block gridpoint pointer
i - optional index of component
Component Access
- f = block.gp.disp.x(bdpp)
- block.gp.disp.x(bdpp) = f
Get/set the \(x\)-component of the displacement vector.
Returns: f - \(x\)-component of the displacement vector Accepts: f - \(x\)-component of the displacement vector Arguments: bggp - gridpoint pointer
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Dec 22, 2020 |