ball.zone.gp.list
Syntax
- l = ball.zone.gp.list
Get the global list of ball-zone coupled gridpoints. Use the loop foreach construct to iterate through the list.
- Returns:
l - ball list
Usage Example
The following example illustrates how loop foreach statement ball.zone.gp.list
can be used to iterate
through the list of ball-zone coupled gridpoints in the system.
model solve calm 500 time 1.0
fish define ball_loop
; loop over balls
global nballs = 0
loop foreach local b ball.list
nballs = nballs + 1
endloop
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 05, 2024 |