fragment.pos.catalog
Syntax
Vector Access
- v = fragment.pos.catalog(fg,ic<,i>)
Get the fragment position at a state. The fragment position is taken as the average position of the bodies. The fragment position in catalog ic is returned, where ic ranges from 1 to the total number of catalogs. Use the
fragment.catalog
function or thefragment list
command to obtain the catalog information. Thefragment.catalog
function can be used to obtain the catalog number closest to a specified time.Returns: v - fragment position vector or component
Arguments: fg - fragment pointer
ic - catalog number
i - optional vector component
Component Access
- f = fragment.pos.catalog.x(fg,ic)
Get the x-component of the fragment position.
Returns: f - x-component of the fragment position vector
Arguments: fg - fragment pointer
ic - catalog number
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |