Skip to content
Snippets Groups Projects
  1. Oct 29, 2019
  2. Oct 28, 2019
  3. Oct 25, 2019
    • 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
  4. Oct 24, 2019
  5. Oct 28, 2019
  6. Nov 07, 2019
  7. Oct 23, 2019
  8. Oct 22, 2019
  9. Oct 18, 2019
  10. Oct 10, 2019
  11. Oct 17, 2019
  12. Oct 11, 2019
  13. Oct 10, 2019
  14. Oct 08, 2019
    • 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
  15. Oct 09, 2019
  16. Oct 08, 2019
  17. Oct 07, 2019
    • 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
  18. Oct 04, 2019
    • 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
  19. Oct 02, 2019