1. 02 Jun, 2020 3 commits
    • Mark Olesen's avatar
      ENH: unify use of dictionary method names · 3e43edf0
      Mark Olesen authored
      - previously introduced `getOrDefault` as a dictionary _get_ method,
        now complete the transition and use it everywhere instead of
        `lookupOrDefault`. This avoids mixed usage of the two methods that
        are identical in behaviour, makes for shorter names, and promotes
        the distinction between "lookup" access (ie, return a token stream,
        locate and return an entry) and "get" access (ie, the above with
        conversion to concrete types such as scalar, label etc).
      3e43edf0
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: support predicate checks for argList (similar to dictionary methods) · 31b17221
      Mark Olesen authored
      - Favour use of argList methods that are more similar to dictionary
        method names with the aim of reducing the cognitive load.
      
        * Silently deprecate two-parameter get() method in favour of the
          more familiar getOrDefault.
        * Silently deprecate opt() method in favour of get()
      
        These may be verbosely deprecated in future versions.
      31b17221
  2. 31 May, 2020 1 commit
  3. 29 May, 2020 8 commits
  4. 28 May, 2020 2 commits
  5. 26 May, 2020 1 commit
  6. 23 May, 2020 10 commits
  7. 22 May, 2020 5 commits
  8. 21 May, 2020 4 commits
  9. 20 May, 2020 4 commits
  10. 19 May, 2020 2 commits
    • Andrew Heather's avatar
      Merge branch 'feature-build-granularity' into 'develop' · fec570f3
      Andrew Heather authored
      Feature build granularity
      
      See merge request !359
      fec570f3
    • Mark Olesen's avatar
      ENH: improved granularity for MPI-rebuilds · f233595a
      Mark Olesen authored
      - Provide Allwmake-mpi scripts for handling the MPI-only build segment.
      
      - Adjust Make/options to support a FOAM_MPI_LIBBIN target location.
        This will simply default to FOAM_LIBBIN/FOAM_MPI, but allows different
        types of builds with out-of-tree targets.
      
      Example,
      
      Build OpenFOAM with default MPI settings (eg, system openmpi)
      ```
      ./Allwmake
      ```
      
      Rebuild MPI-layers with different MPI.
      
      For any given and known type
      ```
      othermpi()
      {
          export WM_MPLIB=OPENMPI
          export FOAM_MPI=openmpi-3.1.3
      
          export OPAL_PREFIX=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI
          export MPI_ARCH_PATH="$OPAL_PREFIX"
      }
      ```
      
      May wish to build/rebuild ptscotch
      ```
      (
          othermpi
          $WM_THIRD_PARTY_DIR/makeSCOTCH
      )
      ```
      
      Rebuild the mpi-dependent parts. Can also provide install location
      ```
      for script in $(find src -name Allwmake-mpi)
      do
      (
          other_mpi
          export FOAM_MPI_LIBBIN="$HOME/tmp/install-prefix/lib/$FOAM_MPI"
      )
      done
      ```
      f233595a