- 06 Feb, 2019 8 commits
-
-
OpenFOAM bot authored
-
OpenFOAM bot authored
-
mattijs authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- implemented as lazy evaluation with an additional update() method. This avoids unnecessary changes until the values are actually required. - apply mesh motion changes for momentum, volFieldValue, specieReactionRates function objects
-
Mark OLESEN authored
- forwards to the underlying HashTable erase, but frees things owned by the registry as well (ie, performs a checkOut)
-
mattijs authored
-
Mark OLESEN authored
- also removed some editing cruft from controlDict that should not have been there
-
- 05 Feb, 2019 3 commits
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- 04 Feb, 2019 5 commits
-
-
-
mattijs authored
-
mattijs authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- 01 Feb, 2019 6 commits
-
-
sergio authored
-
sergio authored
from e to T. T proved to be more generic solution.
-
Andrew Heather authored
Add minMax and clip field functions See merge request !230
-
Mark OLESEN authored
-
Mark OLESEN authored
STYLE: avoid local variable name masking
-
Mark OLESEN authored
- changed ensightOutput from a class solely comprising static methods to a namespace and added in sub-namespaces Detail and Serial. This makes it easier to "mix-in" functions at different levels. Refactored and combined some serial/parallel code where possible. The general ensightOutput namespace has now shifted to be in the fileFormats lib, while leaving volField outputs in the conversion lib and cloud outputs in the lagrangian-intermediate lib. The ensightCloud namespace is now simply folded into the new ensightOutput namespace. These changes clean up some code, reduce fragmentation and duplication and removes the previous libconversion dependency for sampling. - use int for ensight nTypes constexpr Note: issue #1176 is unaffected except for the change in file name: ensightOutputTemplates.C -> ensightOutputVolFieldTemplates.C
-
- 31 Jan, 2019 9 commits
-
-
Andrew Heather authored
Function object updates See merge request !231
-
mattijs authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- 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
-
Mark OLESEN authored
-
Mark OLESEN authored
- allows localized extension of functionality
-
Mark OLESEN authored
-
Mark OLESEN authored
-
mattijs authored
-
- 30 Jan, 2019 9 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- improved the selection mechanism to include using a bitSet cell selection (more efficient and convenient). Use templated implementation internally to remove the previous reliance on a NullObject.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- assignment operators return a value, for consistency with bool. - partial revert of DEFAULT_TRUE, DEFAULT_FALSE, to reduce complexity.
-
mattijs authored
-
mattijs authored
-
mattijs authored
-