1. 28 Oct, 2019 4 commits
  2. 25 Oct, 2019 3 commits
    • Mark Olesen's avatar
      ENH: add flexible command options for setting Debug and Info switches #1467 · da332229
      Mark Olesen authored
      For example,
      
         $ someSolver -info-switch writeOptionalEntries
      
      - note that values changed via the command-line are changed after the
        etc/controlDict entries, but *before* any case-local
        system/controlDict entries.
      
        However, in many testing cases the command-line options eliminate
        the need for such local file modifications.
      
      ENH: cleanup handling of local debug switches in Time
      
      - add as methods directly on simpleObjectRegistry to avoid code
        duplication
      
      STYLE: adjust internal naming of ITstream parameters
      da332229
    • Mark Olesen's avatar
      ENH: improve reporting for optional dictionary entries (#1468) · b0a999ca
      Mark Olesen authored
      - now reports the dictionary, entry, default. For example,
      
        Dictionary: <case>/0/nut.boundaryField.wall Entry: Cmu Default: 0.09
        Dictionary: <case>/0/nut.boundaryField.wall Entry: kappa Default: 0.41
        Dictionary: <case>/0/nut.boundaryField.wall Entry: E Default: 9.8
      
      - suppress reporting for debug, optimisation switches since this
        generates extremely noisy output
      b0a999ca
    • Mark Olesen's avatar
  3. 24 Oct, 2019 1 commit
  4. 28 Oct, 2019 1 commit
  5. 07 Nov, 2019 1 commit
  6. 23 Oct, 2019 5 commits
  7. 22 Oct, 2019 2 commits
  8. 18 Oct, 2019 1 commit
  9. 10 Oct, 2019 3 commits
  10. 17 Oct, 2019 1 commit
  11. 11 Oct, 2019 1 commit
  12. 10 Oct, 2019 3 commits
  13. 08 Oct, 2019 1 commit
    • Mark Olesen's avatar
      ENH: code simplification, improvements for reading dictionary variables · 6b5492e3
      Mark Olesen authored
      - Now accept '/' when reading variables without requiring
        a surrounding '{}'
      
      - fix some degenerate parsing cases when the first character is
        already bad.
      
        Eg, $"abc" would have previously parsed as a <$"> variable, even
        although a double quote is not a valid variable character.
      
        Now emits a warning and parses as a '$' token and a string token.
      6b5492e3
  14. 09 Oct, 2019 1 commit
  15. 08 Oct, 2019 5 commits
  16. 07 Oct, 2019 1 commit
    • Mark Olesen's avatar
      ENH: improvements to stringOps::expand operations · 46225279
      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.
      46225279
  17. 04 Oct, 2019 4 commits
    • Mark Olesen's avatar
      STYLE: split off Test-string2 · d9d29e5a
      Mark Olesen authored
      d9d29e5a
    • Mark Olesen's avatar
      ENH: stringOps::toScalar improvements · bd35981f
      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
      bd35981f
    • Mark Olesen's avatar
      ENH: improvements to SubList and SubField · 61e95b84
      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.
      61e95b84
    • Mark Olesen's avatar
      CONFIG: adjustments for CMake files · f75e01c8
      Mark Olesen authored
      - drop plugin support for Qt4 (old paraview)
      
      - handle upcoming changes in VTK version naming in CMake files
        * VTK_MAJOR_VERSION becomes VTK_VERSION_MAJOR etc.
      f75e01c8
  18. 02 Oct, 2019 2 commits