Mark Olesen
5dc5ea928a
ENH: add UPstream::subProcs() static method
...
- returns a range of `int` values that can be iterated across.
For example,
for (const int proci : Pstream::subProcs()) { ... }
instead of
for
(
int proci = Pstream::firstSlave();
proci <= Pstream::lastSlave();
++proci
)
{
...
}
2020-09-28 14:26:07 +02:00
..
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2020-09-28 14:26:07 +02:00
2020-06-02 17:26:03 +02:00
2020-06-02 14:29:36 +02:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2020-06-17 10:46:26 +02:00
2020-06-17 10:46:26 +02:00
2020-07-01 18:41:31 +02:00
2020-08-07 09:24:56 +02:00
2020-06-02 17:26:03 +02:00
2019-10-31 14:48:44 +00:00
2020-06-10 15:29:07 +02:00
2020-09-07 09:45:51 +02:00
2019-10-31 14:48:44 +00:00
2020-07-16 11:39:24 +02:00
2020-06-17 10:46:26 +02:00
2020-06-02 17:26:03 +02:00
2019-12-05 11:47:19 +00:00
2020-07-16 11:39:24 +02:00
2020-06-17 10:46:26 +02:00
2019-10-31 14:48:44 +00:00
2019-10-31 14:48:44 +00:00
2020-09-28 14:26:07 +02:00
2020-06-02 14:29:36 +02:00
2020-06-17 10:46:26 +02:00
2020-07-16 11:39:24 +02:00
2020-06-02 13:51:18 +02:00
2019-10-31 14:48:44 +00:00