1. 30 Oct, 2019 1 commit
  2. 29 Oct, 2019 4 commits
  3. 28 Oct, 2019 4 commits
  4. 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
  5. 24 Oct, 2019 1 commit
  6. 28 Oct, 2019 1 commit
  7. 07 Nov, 2019 1 commit
  8. 23 Oct, 2019 5 commits
  9. 22 Oct, 2019 2 commits
  10. 18 Oct, 2019 1 commit
  11. 10 Oct, 2019 3 commits
  12. 17 Oct, 2019 1 commit
  13. 11 Oct, 2019 1 commit
  14. 10 Oct, 2019 3 commits
  15. 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
  16. 09 Oct, 2019 1 commit
  17. 08 Oct, 2019 5 commits
  18. 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
  19. 04 Oct, 2019 1 commit