mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: new sliceRange class
- 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))
{
...
}
This commit is contained in:
committed by
Andrew Heather
parent
06e709c26f
commit
d4eb17a9ff
2
applications/test/sliceRange/Make/options
Normal file
2
applications/test/sliceRange/Make/options
Normal file
@ -0,0 +1,2 @@
|
||||
/* EXE_INC = */
|
||||
/* EXE_LIBS = */
|
||||
Reference in New Issue
Block a user