Skip to content
Snippets Groups Projects
  1. Dec 10, 2021
    • Mark OLESEN's avatar
      ENH: code reduction, improvements for expressions · 510ffb33
      Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
      - literal lookups only for expression strings
      
      - code reduction for setExprFields.
      
      - changed keyword "condition" to "fieldMask" (option -field-mask).
        This is a better description of its purpose and avoids possible
        naming ambiguities with functionObject triggers (for example)
        if we apply similar syntax elsewhere.
      
      BUG: erroneous check in volumeExpr::parseDriver::isResultType()
      
      - not triggered since this method is not used anywhere
        (may remove in future version)
      510ffb33
  2. Nov 23, 2021
    • Mark OLESEN's avatar
      ENH: make expressions::FieldAssociation a common enum · fbd7b789
      Mark OLESEN authored
      - use FACE_DATA (was SURFACE_DATA) for similarity with polySurface
      
      ENH: add expression value enumerations and traits
      
      - simple enumeration of standard types (bool, label, scalar, vector)
        that can be used as a value type-code for internal bookkeeping.
      
      GIT: relocate pTraits into general traits/ directory
      fbd7b789
  3. Nov 15, 2021
  4. Jun 10, 2021
    • Mark OLESEN's avatar
      ENH: additional patch expressions (#2114) · b6b4ab07
      Mark OLESEN authored
      - snGrad, internalField, neighbourField.
        Functional use as per swak: "... + internalField(T) ..."
      
      ENH: additional volume/patch expressions
      
      - deltaT()
      
      STYLE: rename exprDriverWriter -> fvExprDriverWriter
      
      - the original class name was a misnomer since it holds a reference
        to fvExprDriver
      
      BUG: expression faceToPoint/pointToFace definitions were flipped
      
      ENH: refactor expression hierarchy and code style
      
      - handle TimeState reference at the top-level for simpler derivations
      
      - unified internal search parameters (cruft)
      b6b4ab07
  5. Mar 29, 2021
  6. Mar 23, 2021
  7. Nov 19, 2020
  8. Oct 28, 2020
    • Mark OLESEN's avatar
      ENH: improve some efficiency in expressions · 5579e7a6
      Mark OLESEN authored
      - use refPtr to simplify some logic.
      - avoid copying field if an average will be used
      - initialize geometric fields with a uniform value instead of Zero
      - minor tweak of method names
      
      - apply bugfix #1889 (longer description elsewhere)
      5579e7a6
  9. Dec 06, 2019
    • Mark OLESEN's avatar
      ENH: improve exprResult handling · 17869747
      Mark OLESEN authored
      - some support for "uniform" bool fields. Calculating an averaged
        value for a boolField does not work very well, but we simply define
        that the field average is 'true' when more than 1/2 of its values
        are true. Not exactly true, but allows templated definitions to work
        smoothly.
      
      - additional output method writeValue().
        This outputs the single (uniform) value or the first value of the
        field.
      17869747
  10. Nov 18, 2019