Mark Olesen
9a7029004c
ENH: minMax, minMaxMag as functions and field functions
...
- Global functions are unary or combining binary functions, which are
defined in MinMax.H (MinMaxOps.H).
There are also global reduction functions (gMinMax, gMinMaxMag)
as well as supporting 'Op' classes:
- minMaxOp, minMaxEqOp, minMaxMagOp, minMaxMagEqOp
Since the result of the functions represents a content reduction
into a single MinMax<T> value (a min/max pair), field operations
returning a field simply do not make sense.
- Implemented for lists, fields, field-fields, DimensionedField,
GeometricField (parallel reducing, with boundaries).
- Since the minMax evaluates during its operation, this makes it more
efficient for cases where both min/max values are required since it
avoids looping twice through the data.
* Changed GeometricField writeMinMax accordingly.
ENH: clip as field function
- clipping provides a more efficient, single-pass operation to apply
lower/upper limits on single or multiple values.
Examples,
scalarMinMax limiter(0, 1);
limiter.clip(value)
-> returns a const-ref to the value if within the range, or else
returns the appropriate lower/upper limit
limiter.inplaceClip(value)
-> Modifies the value if necessary to be within lower/upper limit
Function calls
clip(value, limiter)
-> returns a copy after applying lower/upper limit
clip(values, limiter)
-> returns a tmp<Field> of clipped values
2019-01-10 09:43:23 +01:00
..
2018-12-03 09:50:48 +01:00
2010-11-23 16:26:04 +01:00
2018-12-15 13:26:55 +01:00
2018-07-30 14:33:22 +02:00
2018-11-13 15:21:13 +01:00
2017-04-28 09:15:52 +01:00
2018-04-27 10:43:32 +02:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2018-08-07 22:23:16 +02:00
2019-01-07 09:20:51 +01:00
2018-11-13 15:21:13 +01:00
2018-12-12 12:10:39 +01:00
2018-11-13 15:21:13 +01:00
2018-12-19 18:07:52 +00:00
2017-07-07 11:39:56 +01:00
2018-12-11 23:50:15 +01:00
2018-11-13 15:21:13 +01:00
2019-01-23 09:03:06 +01:00
2018-08-02 16:26:25 +02:00
2018-11-13 15:21:13 +01:00
2017-11-22 08:03:52 +01:00
2018-07-24 15:54:32 +01:00
2019-01-07 09:20:51 +01:00
2018-11-13 15:21:13 +01:00
2018-12-12 12:10:39 +01:00
2019-01-07 09:20:51 +01:00
2019-01-07 19:04:50 +01:00
2019-01-23 09:03:06 +01:00
2018-11-13 15:21:13 +01:00
2018-05-30 12:03:17 +02:00
2019-01-03 13:34:11 +01:00
2019-01-23 09:03:06 +01:00
2018-02-21 10:05:30 +01:00
2017-04-28 09:15:52 +01:00
2018-11-13 15:21:13 +01:00
2018-02-20 17:24:08 +01:00
2017-05-18 10:42:05 +02:00
2018-11-08 14:46:35 +01:00
2018-11-13 15:21:13 +01:00
2017-11-22 12:54:28 +01:00
2019-01-10 14:49:18 +01:00
2019-01-23 09:03:06 +01:00
2018-12-12 13:45:32 +01:00
2018-06-14 15:14:14 +01:00
2018-12-12 12:10:39 +01:00
2019-01-23 09:03:06 +01:00
2018-06-14 15:14:14 +01:00
2018-12-19 18:07:52 +00:00
2018-11-12 16:39:55 +01:00
2019-01-23 09:03:06 +01:00
2018-11-13 15:21:13 +01:00
2018-08-09 11:27:36 +02:00
2018-06-14 15:14:14 +01:00
2015-02-10 20:35:50 +00:00
2019-01-10 09:35:41 +01:00
2018-11-13 15:21:13 +01:00
2017-10-09 21:00:34 +02:00
2018-11-29 21:01:01 +01:00
2018-12-19 18:07:52 +00:00
2019-01-07 09:20:51 +01:00
2019-01-07 09:20:51 +01:00
2018-10-16 11:13:35 +02:00
2018-07-02 10:20:01 +02:00
2017-07-17 15:14:38 +02:00
2018-09-27 10:17:30 +02:00
2019-01-07 09:20:51 +01:00
2019-01-07 09:20:51 +01:00
2018-01-25 15:00:25 +01:00
2018-12-19 18:07:52 +00:00
2017-10-26 23:59:18 +02:00
2019-01-18 16:26:50 +01:00
2018-12-20 18:03:16 +01:00
2019-01-18 16:26:50 +01:00
2018-06-14 15:14:14 +01:00
2017-10-30 21:35:05 +01:00
2018-01-08 15:35:18 +01:00
2018-12-19 18:07:52 +00:00
2018-03-05 13:28:53 +01:00
2019-01-25 10:47:34 +01:00
2018-10-03 14:05:45 +02:00
2018-11-25 14:17:55 +01:00
2018-02-20 17:24:08 +01:00
2018-11-28 11:28:38 +01:00
2018-11-13 15:21:13 +01:00
2017-10-23 07:50:12 +02:00
2017-11-06 09:25:58 +01:00
2018-11-13 15:21:13 +01:00
2019-01-22 15:11:28 +01:00
2018-02-20 17:24:08 +01:00
2019-01-25 10:47:34 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2019-01-25 11:45:03 +01:00
2018-04-27 10:43:32 +02:00
2018-04-24 13:17:22 +02:00
2017-09-20 17:20:54 +02:00
2018-12-19 18:07:52 +00:00
2018-06-14 15:14:14 +01:00
2016-07-17 14:44:50 +01:00
2011-06-08 15:37:11 +01:00
2018-11-13 15:21:13 +01:00
2018-03-05 13:28:53 +01:00
2019-01-10 09:43:23 +01:00
2019-01-10 09:43:23 +01:00
2011-08-14 12:17:30 +01:00
2018-12-12 12:10:39 +01:00
2018-01-08 15:35:18 +01:00
2018-11-13 15:21:13 +01:00
2018-11-10 17:20:32 +01:00
2018-11-11 19:00:54 +01:00
2018-01-22 09:42:06 +01:00
2017-11-22 12:54:28 +01:00
2018-03-05 13:28:53 +01:00
2017-12-19 16:07:15 +01:00
2017-07-17 18:32:42 +02:00
2018-08-01 12:48:35 +02:00
2019-01-23 09:03:06 +01:00
2018-11-13 15:21:13 +01:00
2018-12-11 23:50:15 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2018-12-19 18:07:52 +00:00
2019-01-07 09:20:51 +01:00
2018-06-14 15:14:14 +01:00
2018-12-19 18:07:52 +00:00
2018-12-19 18:07:52 +00:00
2018-06-14 17:17:17 +02:00
2018-08-09 11:27:36 +02:00
2018-03-16 10:24:03 +01:00
2017-07-17 15:14:38 +02:00
2018-10-16 01:30:44 +02:00
2017-05-17 10:18:14 +02:00
2019-01-25 10:47:34 +01:00
2018-03-05 13:28:53 +01:00
2019-01-29 09:38:09 +01:00
2017-06-14 12:54:38 +02:00
2019-01-21 09:51:02 +01:00
2018-11-13 15:21:13 +01:00
2019-01-18 16:26:50 +01:00
2018-11-13 15:21:13 +01:00
2019-01-23 09:03:06 +01:00
2015-07-16 14:37:19 +01:00
2019-01-23 09:03:06 +01:00
2018-10-12 08:14:47 +02:00
2018-12-19 18:07:52 +00:00
2018-11-13 14:12:53 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2016-03-20 19:44:29 +00:00
2018-10-11 09:12:01 +02:00
2015-07-16 14:37:19 +01:00
2018-11-13 15:21:13 +01:00
2017-10-27 14:28:00 +02:00
2018-11-13 15:21:13 +01:00
2011-08-14 12:17:30 +01:00
2018-12-19 18:07:52 +00:00
2018-12-12 13:45:32 +01:00
2019-01-25 11:45:03 +01:00
2018-11-13 15:21:13 +01:00
2018-12-12 12:10:39 +01:00
2018-12-12 12:10:39 +01:00
2018-06-27 10:31:35 +02:00
2018-11-13 15:21:13 +01:00
2019-01-07 09:20:51 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2017-05-22 11:40:37 +01:00
2017-02-17 11:22:14 +00:00
2018-12-15 13:26:55 +01:00
2018-12-20 17:29:51 +01:00
2017-11-05 20:05:28 +01:00
2018-12-12 12:10:39 +01:00
2018-11-13 15:21:13 +01:00
2019-01-08 22:16:41 +01:00
2018-11-13 15:21:13 +01:00
2018-01-22 09:42:06 +01:00
2019-01-25 10:47:34 +01:00
2018-11-13 15:21:13 +01:00
2013-09-27 22:47:59 +01:00
2018-11-13 15:21:13 +01:00
2018-11-13 15:21:13 +01:00
2017-04-07 08:17:43 +02:00
2018-12-19 18:07:52 +00:00
2016-04-24 22:07:37 +01:00
2018-12-12 12:10:39 +01:00
2018-10-02 12:53:01 +02:00
2019-01-09 09:32:23 +01:00
2017-06-14 09:51:02 +01:00
2018-12-19 18:07:52 +00:00