1. 17 Oct, 2019 4 commits
  2. 11 Oct, 2019 5 commits
  3. 10 Oct, 2019 2 commits
  4. 09 Oct, 2019 6 commits
  5. 08 Oct, 2019 3 commits
    • Andrew Heather's avatar
      Merge branch 'feature-string-expansion' into 'develop' · 4e10162f
      Andrew Heather authored
      improvements to stringOps::expand operations
      
      See merge request !280
      4e10162f
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: improvements to stringOps::expand operations · ef8bfebe
      Mark Olesen authored
      - add toScalar evaluation, embedded as "${{EXPR}}".
      
        For example,
      
          "repeat ${{5 * 7}} times or ${{ pow(3, 10) }}"
      
      - use direct string concatenation if primitive entry is only a string
        type. This prevents spurious quotes from appearing in the expansion.
      
           radius  "(2+4)";
           angle   "3*15";
           #eval   "$radius*sin(degToRad($angle))";
      
           We want to have
               '(2+4)*sin(degToRad(3*15))'
           and not
               '"(2+4)"*sin(degToRad("3*15"))'
      
      ENH: code refactoring
      
      - refactored expansion code with low-level service routines now
        belonging to file-scope. All expansion routines use a common
        multi-parameter backend to handle with/without dictionary etc.
        This removes a large amount of code duplication.
      ef8bfebe
  6. 07 Oct, 2019 3 commits
    • Mark Olesen's avatar
      STYLE: split off Test-string2 · d4bd3168
      Mark Olesen authored
      d4bd3168
    • Mark Olesen's avatar
      ENH: stringOps::toScalar improvements · 82ff7521
      Mark Olesen authored
      - add floor/ceil/round methods
      - support evaluation of sub-strings
      
      STYLE: add blockMeshDict1.calc, blockMeshDict1.eval test dictionaries
      
      - useful for testing and simple demonstration of equivalence
      82ff7521
    • Mark Olesen's avatar
      ENH: improvements to SubList and SubField · 91f8c707
      Mark Olesen authored
      - SubField and SubList assign from zero
      - SubField +=, -=, *=, /= operators
      
      - SubList construct from UList (as per SubField)
      
        Note: constructing an anonymous SubField or SubList with a single
        parameter should use '{} instead of '()' to avoid compiler
        ambiguities.
      91f8c707
  7. 04 Oct, 2019 3 commits
  8. 03 Oct, 2019 8 commits
  9. 02 Oct, 2019 6 commits