fragment.index
Syntax
- i = fragment.index(b<,i>)
Get the body fragment ID. b may be a ball, clump, or wall pointer. If i is not provided, the last fragment ID is returned. Otherwise, the fragment ID in catalog i is returned where i 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: i - fragment ID
Arguments: b - body pointer (i.e., ball, clump, or wall pointer)
i - optional catalog number
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Feb 25, 2024 |