1. 02 Jun, 2020 1 commit
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
  2. 01 May, 2020 1 commit
  3. 31 Oct, 2019 1 commit
  4. 04 Nov, 2019 1 commit
  5. 24 Sep, 2019 1 commit
  6. 12 Jul, 2019 1 commit
  7. 10 Feb, 2019 1 commit
  8. 07 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: code adjustments for updated NullObject · 078e3474
      Mark Olesen authored
      - can now safely use labelList::null() instead of emptyLabelList for
        return values. No special treatment required for lists.
      
        Possible replacements:
      
            if (notNull(list) && list.size())  ->  if (list.size())
            if (isNull(list) || list.empty())  ->  if (list.empty())
      
        The receiver may still wish to handle differently to distinguish
        between a null list and an empty list, but no additional special
        protection is required when obtaining sizes, traversing, outputting
        etc.
      078e3474
  9. 06 Feb, 2019 1 commit
  10. 12 Nov, 2018 1 commit
  11. 06 Nov, 2018 1 commit
  12. 19 Oct, 2018 1 commit
  13. 26 Feb, 2018 1 commit
  14. 05 Nov, 2017 1 commit
  15. 03 Jul, 2017 1 commit
  16. 26 May, 2017 1 commit
  17. 22 May, 2017 1 commit
  18. 19 May, 2017 1 commit
  19. 10 Mar, 2017 1 commit
  20. 15 Dec, 2016 1 commit
  21. 03 Oct, 2016 1 commit
  22. 25 Sep, 2016 1 commit
  23. 17 Jul, 2016 1 commit
  24. 21 Jun, 2016 1 commit
  25. 15 Jun, 2016 1 commit
  26. 13 Jun, 2016 1 commit
    • mattijs's avatar
      BUG: cyclicACMI: partial reverted updateCoeffs structure · 136c0000
      mattijs authored
      - cyclicACMIFvPatchField::updateCoeffs() now again redirects to
      fvPatchField::updateCoeffs(const scalarField& weights);
      - which redirects to fvPatchField::updateCoeffs();
      - except on wall functions where the weights are used to switch off
        turbulence generation
      - renamed the updateCoeffs on the fixedFluxPressure bc to updateSnGrad.
      136c0000
  27. 30 Apr, 2016 1 commit
    • Henry Weller's avatar
      GeometricField: Renamed internalField() -> primitiveField() and... · 3c053c2f
      Henry Weller authored
      GeometricField: Renamed internalField() -> primitiveField() and dimensionedInternalField() -> internalField()
      
      These new names are more consistent and logical because:
      
      primitiveField():
      primitiveFieldRef():
          Provides low-level access to the Field<Type> (primitive field)
          without dimension or mesh-consistency checking.  This should only be
          used in the low-level functions where dimensional consistency is
          ensured by careful programming and computational efficiency is
          paramount.
      
      internalField():
      internalFieldRef():
          Provides access to the DimensionedField<Type, GeoMesh> of values on
          the internal mesh-type for which the GeometricField is defined and
          supports dimension and checking and mesh-consistency checking.
      3c053c2f
  28. 22 Mar, 2016 1 commit
  29. 29 Feb, 2016 2 commits
  30. 24 Feb, 2016 1 commit
    • Henry Weller's avatar
      tmp: Improved reference count checks to provide better error diagnostics · c02bf70e
      Henry Weller authored
      in case of tmp misuse.
      
      Simplified tmp reuse pattern in field algebra to use tmp copy and
      assignment rather than the complex delayed call to 'ptr()'.
      
      Removed support for unused non-const 'REF' storage of non-tmp objects due to C++
      limitation in constructor overloading: if both tmp(T&) and tmp(const T&)
      constructors are provided resolution is ambiguous.
      
      The turbulence libraries have been upgraded and '-DCONST_TMP' option
      specified in the 'options' file to switch to the new 'tmp' behavior.
      c02bf70e
  31. 20 Feb, 2016 1 commit
    • Henry Weller's avatar
      Boundary conditions: Added extrapolatedCalculatedFvPatchField · 99a10ece
      Henry Weller authored
      To be used instead of zeroGradientFvPatchField for temporary fields for
      which zero-gradient extrapolation is use to evaluate the boundary field
      but avoiding fields derived from temporary field using field algebra
      inheriting the zeroGradient boundary condition by the reuse of the
      temporary field storage.
      
      zeroGradientFvPatchField should not be used as the default patch field
      for any temporary fields and should be avoided for non-temporary fields
      except where it is clearly appropriate;
      extrapolatedCalculatedFvPatchField and calculatedFvPatchField are
      generally more suitable defaults depending on the manner in which the
      boundary values are specified or evaluated.
      
      The entire OpenFOAM-dev code-base has been updated following the above
      recommendations.
      
      Henry G. Weller
      CFD Direct
      99a10ece
  32. 12 Feb, 2016 1 commit
  33. 09 Feb, 2016 1 commit
  34. 20 Jan, 2016 1 commit
  35. 11 Jan, 2016 1 commit
  36. 10 Jan, 2016 1 commit
  37. 17 Nov, 2015 2 commits
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 916dcb86
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      916dcb86
    • mattijs's avatar
      ENH: parallel: overhaul of parallel mapping · 436902f5
      mattijs authored
      - redistributePar to have almost (complete) functionality of decomposePar+reconstructPar
      - low-level distributed Field mapping
      - support for mapping surfaceFields (including flipping faces)
      - support for decomposing/reconstructing refinement data
      436902f5
  38. 10 Nov, 2015 1 commit