Skip to content
Snippets Groups Projects
  1. Nov 24, 2017
    • Mark OLESEN's avatar
      ENH: more succinct output from command-line errors. · 5947f9a3
      Mark OLESEN authored
      - unknown options or missing option values now emit a shorter message
        without the entire usage. This makes it easier to identify the errors
        and is better aligned with the behaviour of GNU system tools.
      
        ====
           $ simpleFoam -case
           Using: OpenFOAM-plus (see www.OpenFOAM.com)
           Build: plus-01234
      
           Error: option '-case' requires an argument
      
           See 'simpleFoam -help' for usage
        ====
      
      - provide for reduced (-help) and full (-help-full) usage information.
        In many cases the reduced usage provided sufficient and easier
        to find the information.
      
      - make -srcDoc an alias for -doc-source
      
      - no warnings about option aliases for future dates.
      5947f9a3
    • Mark OLESEN's avatar
      ENH: argList::optionReadList now uses ITstream directly · 9985b93c
      Mark OLESEN authored
      - stricter and robuster than previous solution using List::readList
        since the option input can be fully tokenized prior to list
        conversion.
      9985b93c
    • Mark OLESEN's avatar
  2. Nov 23, 2017
  3. Nov 22, 2017
  4. Nov 20, 2017
  5. Nov 19, 2017
  6. Nov 10, 2017
  7. Nov 18, 2017
    • Mark OLESEN's avatar
      ENH: add argList support for non-mandatory arguments · 834d46c6
      Mark OLESEN authored
      - in rare cases we may wish to have command-line arguments that are
        non-mandatory. This can now be reflected in the usage output, provided
        that the argList::nonMandatoryArgs() has been used.
      
      - added setRootCaseNonMandatoryArgs.H that applies the
        argList::nonMandatoryArgs() settings and otherwise performs largely
        as per setRootCase.H, except that the check for mandatory arguments
        is deferred to later user code.
      834d46c6
  8. Nov 10, 2017
    • Mark OLESEN's avatar
      ENH: improved zone constructors · a59c87d5
      Mark OLESEN authored
      - constructor for empty cell/face/point Zones, with contents to be
        transferred in later.
      
      - ZoneMesh::operator(const word&) to return existing zone or a new empty one.
      a59c87d5
  9. Nov 18, 2017
  10. Nov 17, 2017
    • Mark OLESEN's avatar
      ENH: add -case option for foamLog · 810d090e
      Mark OLESEN authored
      810d090e
    • Mark OLESEN's avatar
      ENH: improve robustness of MPI start/stop · 9c3bef5a
      Mark OLESEN authored
      - warn or fatal if Pstream::init or Pstream::exit are called multiple
        times.
      
      - additional Pstream::initNull method as failsafe to initialize MPI
        when the underlying OpenFOAM process is not running in parallel but
        the application still needs MPI.
      
      - Pstream::exit() can now also be called without having used MPI::init(),
        which means it can be used to cleanup serial process or for
        applications that used the special purpose Pstream::initNull()
        mechanism.
      9c3bef5a
  11. Nov 13, 2017
  12. Nov 17, 2017
  13. Nov 16, 2017
  14. Nov 15, 2017
  15. Nov 14, 2017
  16. Nov 13, 2017
  17. Nov 10, 2017
    • Mark OLESEN's avatar
      ENH: add dictionary-driven multi-pass stitchMesh facility · 3cafdccb
      Mark OLESEN authored
      - the dictionary-driven variant of stitchMesh allows sequential
        application of 'stitch' operation with requiring intermediate
        writing to disk.
      
      - Without arguments:
        * stitchMesh uses a system/stitchMeshDict or -dict dict
      
      - With arguments:
        * master/slave patches specified on the command-line as in previous
          versions.
      3cafdccb
  18. Nov 08, 2017