Skip to content
Snippets Groups Projects
  1. Nov 19, 2020
  2. Oct 31, 2019
  3. Sep 29, 2019
  4. Jun 04, 2019
  5. May 28, 2019
  6. Feb 10, 2019
  7. Feb 06, 2019
  8. Jan 10, 2019
    • Mark OLESEN's avatar
      ENH: minMax, minMaxMag as functions and field functions · 9a702900
      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
      9a702900
  9. Mar 09, 2016
  10. Jan 11, 2016
  11. Jan 10, 2016
  12. Dec 31, 2014
    • Henry's avatar
      Updated headers · ded2f257
      Henry authored
      ded2f257
    • Henry's avatar
      Added and verified support for 64bit labels · 325b003b
      Henry authored
      To compile with 64bit labels set
      
      WM_LABEL_SIZE=64
      
      in ~/OpenFOAM/dev/prefs.sh
      
      source ~/.bashrc
      
      then Allwmake in OpenFOAM-dev.
      
      This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt
      
      If WM_LABEL_SIZE is unset or set to 32:
      
      WM_LABEL_SIZE=32
      
      the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt
      
      Thus both 32bit and 64bit label builds can coexist without problem.
      325b003b
  13. Oct 14, 2013
  14. Feb 06, 2013
  15. Apr 26, 2012
  16. Aug 14, 2011
  17. Jan 19, 2011
  18. Jan 14, 2011
  19. Jan 07, 2011
  20. Jan 05, 2011
  21. Jul 28, 2010
  22. Mar 29, 2010
  23. Dec 31, 2008
  24. Jun 25, 2008
  25. Apr 15, 2008