1. 14 Dec, 2018 2 commits
  2. 13 Dec, 2018 3 commits
  3. 10 Dec, 2018 1 commit
  4. 13 Dec, 2018 6 commits
    • Mark Olesen's avatar
      9103b199
    • Mark Olesen's avatar
      BUG: stringOps etc expansion fails for directories (issue #1121) · 2db0db30
      Mark Olesen authored
      - now use findEtcEntry() instead to handle file or directory.
      
        Added findEtcEntries(), which provides provides a common code basis
        for findEtcDirs(), findEtcFiles() ...
      2db0db30
    • Mark Olesen's avatar
      ENH: add optional checkGzip parameter to fileName::type(..) method · 3d95f565
      Mark Olesen authored
      - this simplifies use of a unified test for directory or file.
      
            fileName::Type what = myfile.type(true, true);
            if (what == FILE) ...
            if (what == DIRECTORY) ...
      
      - Use distinct bit values for fileName::Type, for possible use in
        the future.
      
      - related to issue #1121, since we need a more flexible way of
        expanding file or directory.
      
        An alternative would be to add checkGzip to Foam::exists() and
        Foam::type() functions, but that would make the code there more
        confusing and in the fileHandler classes.
      3d95f565
    • Mark Olesen's avatar
      TUT: minor tutorial adjustments · 38de85cd
      Mark Olesen authored
      38de85cd
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: consolidate handling of mandatory/optional command arguments · 5d9e278e
      Mark Olesen authored
      - for some special cases we wish to mark command-line arguments as
        being optional, in order to do our own treatment. For example,
        when an arbitrary number of arguments should be allowed.
      
        Now tag this situation with argList::noMandatoryArgs().
        The argList::argsMandatory() query can then be used in any further
        logic, including the standard default argument checking.
      
      - with the new default check, can consolidate the special-purpose
      
            "setRootCaseNonMandatoryArgs.H"
      
        into the regular
      
            "setRootCase.H"
      
      - revert to a simple "setRootCase.H" and move all the listing related
        bits to a "setRootCaseLists.H" file. This leaves the information
        available for solvers, or whoever else wishes, without being
        introduced everywhere.
      
      - add include guards and scoping to the listing files and rename to
        something less generic.
      
           listOptions.H -> setRootCaseListOptions.H
           listOutput.H  -> setRootCaseListOutput.H
      5d9e278e
  5. 12 Dec, 2018 9 commits
  6. 11 Dec, 2018 8 commits
  7. 10 Dec, 2018 11 commits