mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- this is somewhat like labelRange, but with a stride.
Can be used to define slices (of lists, fields, ..) or as a range specifier
for a for-loop. For example,
for (label i : sliceRange(0, 10, 3))
{
...
}
4 lines
61 B
Plaintext
4 lines
61 B
Plaintext
Test-sliceRange.C
|
|
|
|
EXE = $(FOAM_USER_APPBIN)/Test-sliceRange
|