Skip to content
Snippets Groups Projects
  1. Apr 11, 2017
  2. Apr 10, 2017
  3. Apr 07, 2017
  4. Apr 05, 2017
  5. Apr 04, 2017
  6. Apr 03, 2017
  7. Mar 31, 2017
    • mark's avatar
      STYLE: use hard-coded user resource directory name for foamEtcFile · bd763c2b
      mark authored
      - previously used the value of $WM_PROJECT, but this is potentially
        inconsistent with what Foam::etcFiles uses.
      bd763c2b
    • mark's avatar
      ENH: various general improvments to the POSIX functions · 3a4038b2
      mark authored
      - ensure proper and sensible handling of empty names.
        Eg, isDir(""), isFile("") are no-ops, and avoid file-stat
      
      - rmDir:
        * optional 'silent' option to suppress messages.
        * removes all possible sub-entries, instead of just giving up on
          the first problem encountered.
      
      - reduced code duplication in etcFiles
      
      ENH: provide WM_USER_RESOURCE_DIRNAME define (in foamVersion.H)
      
      - this is still a hard-coded value, but at least centrally available
      3a4038b2
  8. Mar 30, 2017
  9. Mar 27, 2017
  10. Mar 24, 2017
  11. Mar 23, 2017
    • mark's avatar
      ENH: several improvements to foamEtcFile · 17084917
      mark authored
      - lazier evaluation of project name and version based on the directory
        name. Avoids heuristics based on directory names unless really needed.
      
      - cope with alternative directory locations.
        For example, OpenFOAM+VERSION etc.
      
      The combination of the two above appears to be sufficient to open up
      the directory naming possibilities.
      
      - additional -list-test option (tests for existence of directory).
      17084917
    • mark's avatar
      STYLE: suppress unalias warnings/errors · 74fbef36
      mark authored
      - cleanup variables last in etc/bashrc for a clean exit code
      74fbef36
  12. Mar 22, 2017
    • mark's avatar
      ENH: source 'other' prefs before user/group · f6e36896
      mark authored
      - this allows the sys-admin to provide base values independent of any
        WM_PROJECT_SITE value.
      f6e36896
    • mark's avatar
      ENH: improve foamEtcFile support for alternative naming conventions · f2f01ef5
      mark authored
      - support names like openfoam-<VERSION> (eg, what spack uses).
      - robustness improvements
      f2f01ef5
    • mark's avatar
      ENH: also accept 'lib' for metis and scotch libraries · 59da3b1a
      mark authored
      - this corresponds to what various module or build systems provide.
        ThirdParty builds are unaffected since they install into FOAM_EXT_LIBBIN
      59da3b1a
    • mark's avatar
      ENH: support operations on surfFields in surfaceFieldValue · 35dd6f4a
      mark authored
      - this makes it possible to perform additional operations
        on surface values that have been previously sampled.
      
      - support vectorField for weighting operations.
      
      - reduce overhead by avoiding creation of weight fields, Sf fields
        and combined surface geometries unless they are actually required.
      
      - extend some similar concepts and operations to volFieldValue
      35dd6f4a
    • mark's avatar
      6d1becb1
    • mark's avatar
      STYLE: relocate deprecated utilities into separate directory · 94e12506
      mark authored
      - makes it easier to identify at a later stage
      94e12506
    • mark's avatar
      ENH: minor improvements to environment · 3751ce52
      mark authored
      - handle sourcing bashrc with a relative path (issue #383)
      - handle sourcing from bash and zsh.
        Still need manual intervention when sourcing dash, sh, or ksh.
      - replace grep in etc/cshrc with sed only
      - logical instead of physical path for WM_PROJECT_DIR (issue #431).
        Doesn't seem to be possible for csh/tcsh.
      
        * Continue using physical locations when comparing directories,
          but not for the top-level FOAM_INST_DIR, WM_PROJECT_DIR.
      
      - relocate WM_CC, WM_CXX overrides from etc/config.*/compiler
        to etc/config.*/settings to ensure that they are left untouched
        when etc/config.sh/compiler is sourced while making third-party
        packages (eg, gcc, llvm, CGAL).
      
      - provide fallback FOAM_TUTORIALS setting in RunFunctions
      
      STYLE: remove "~OpenFOAM" fallback as being too rare, non-obvious
      3751ce52