1. 03 Apr, 2020 2 commits
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: support independent specification of surface read/write format (#1600) · 560c053b
      Mark Olesen authored
      - adjustments to internal handling to improve run-time addition of
        other formats (eg, with additional user library)
      
        For example, to write a binary STL with a '.stl' extension:
      
          $ surfaceMeshConvert input.obj  -write-format stlb  output.stl
      
        Or in a sampler,
        to specify the input type without ambiguity:
      
        surf
        {
            type        meshedSurface;
            surface     sampling.inp;
      
            fileType    starcd;
            scale       0.001;
            ...
        }
      
      STYLE: regularize naming for input/output scaling
      
        * -read-scale   (compat: -scaleIn)
        * -write-scale  (compat: -scaleOut)
      
      CONFIG: change edge/surface selection name for STARCD format
      
      - now select as "starcd" instead of "inp" to avoid naming ambiguity
        with abaqus
      560c053b
  2. 02 Apr, 2020 4 commits
  3. 01 Apr, 2020 3 commits
    • Mark Olesen's avatar
      ENH: adjustments to error streams · 617b6027
      Mark Olesen authored
      - refactor common exit/abort code
      
      - support single-parameter output. Eg,
      
          FatalError("some-executable")
              << "Cannot load something\n"
              << exit(FatalError);
      617b6027
    • Mark Olesen's avatar
      ENH: add a Pstream::shutdown() method (#1660) · 01f65054
      Mark Olesen authored
      - previously used a Pstream::exit() invoked from the argList
        destructor to handle all MPI shutdown, but this has the unfortunate
        side-effect of using a fixed return value for the program exit.
      
        Instead use the Pstream::shutdown() method in the destructor and allow
        the normal program exit codes as usual. This means that the
        following code now works as expected.
      
        ```
        argList args(...);
      
        if (...)
        {
            InfoErr<< "some error\n";
            return 1;
        }
        ```
      01f65054
    • Mark Olesen's avatar
      GIT: remove unused files · b2a3e948
      Mark Olesen authored
      - orphaned file: extendedFeatureEdgeMeshI.H
      
      - unused primitiveFaceZone typedef.
        Identical to indirectPrimitivePatch typedef
      b2a3e948
  4. 30 Mar, 2020 1 commit
  5. 31 Mar, 2020 1 commit
  6. 30 Mar, 2020 1 commit
  7. 25 Mar, 2020 4 commits
  8. 23 Mar, 2020 2 commits
  9. 31 Mar, 2020 1 commit
  10. 30 Mar, 2020 5 commits
  11. 27 Mar, 2020 1 commit
  12. 26 Mar, 2020 2 commits
  13. 19 Mar, 2020 1 commit
  14. 18 Mar, 2020 3 commits
  15. 17 Mar, 2020 1 commit
  16. 16 Mar, 2020 8 commits
    • Mark Olesen's avatar
      3e3193aa
    • Mark Olesen's avatar
      CONFIG: bump patch level · 80e40338
      Mark Olesen authored
      80e40338
    • Mark Olesen's avatar
      BUG: missing output for foamDictionary -includes (closes #1635) · 794ab397
      Mark Olesen authored
      - log to stdout when explicitly enabled
      794ab397
    • Mark Olesen's avatar
      2c3bfcc6
    • Mark Olesen's avatar
      CONFIG: improve prefix matching for system libraries (#1607) · fe17c8ad
      Mark Olesen authored
      - missed detection of system libraries when installed with multiarch
        paths like /usr/lib/x86_64-linux-gnu
      
      CONFIG: improve handling of group/user config files (#928)
      
      - changed bashrc handling of FOAM_CONFIG_NOUSER to use
        FOAM_CONFIG_MODE instead. Propagate into foamEtcFile to make this
        a stickier control.
      
        This change allows better control, but also enables cluster
        installations to define their own value within the OpenFOAM prefs.sh
        file to prevent users accidentally mis-configuring things if
        necessary.
      
      - remove undocumented handling of an (a)ll mode in foamEtcFile to
        avoid potential pitfalls.
      
      - add support for FOAM_CONFIG_ETC handling.
        This allows injection of an extra search layer when finding
        project etc files
      
      ENH: improvements to foamConfigurePaths (#928)
      
      - handle FOAM_CONFIG_ETC implicitly, or explicitly with the new
        -etc option.
      
      STYLE: more explicit wording in foamConfigurePaths usage (#1602)
      
      - document that an absolute path (eg, -scotch-path) overrides/ignores
        the equivalent ThirdParty setting (eg, -scotch)
      
      - longer options -system-compiler and -third-compiler for -system
        and -third, respectively. Clearer as to their purpose.
      
      - adjust the location sanity check to look for META-INFO directory.
      fe17c8ad
    • Mark Olesen's avatar
      CONFIG: support FOAM_EXTRA_CXXFLAGS (#1256) · ac8b64df
      Mark Olesen authored
      - allows custom tuning of compilation parameters
      ac8b64df
    • Mark Olesen's avatar
      ENH: openfoam shell session - improved and relocated · ba3a31af
      Mark Olesen authored
      - '-c' option (as per shell), '-Dkey[=value]' option to provide
        preferences via the command-line. For example,
      
            etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
      
        These can also be combined with other options. Eg,
      
            etc/openfoam -DWM_COMPILER=Clang \
                -c 'wmake -show-path-cxx -show-cxxflags'
      
      - relocated from bin/tools/ => etc/ for easier access
      
      - bin/tools/openfoam.in : for autoconfig-style installation
      
      - Auto-detect if the shell script was executed with openfoam and
        interpret accordingly.
      
        Simple example,
      
            --------------
            #!/usr/bin/openfoam
            cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
      
            blockMesh
            simpleFoam
            --------------
      
         Note it is NOT currently possible to provide any other parameters
         this way. Eg,
      
            `#!/usr/bin/openfoam -sp` (NOT)
      
         This will either fail to run, or result in infinite recursion.
      ba3a31af
    • Mark Olesen's avatar
      ENH: support packing of modules-only tar files (#907) · c35e7a7b
      Mark Olesen authored
      - make tar-file generation more flexible
      c35e7a7b