1. 15 Apr, 2020 7 commits
    • Mark Olesen's avatar
      CONFIG: support compiler query in bin/tools/query-versions · 6152940b
      Mark Olesen authored
      - Query the etc/config.sh/compiler for Gcc/Clang versions
    • Mark Olesen's avatar
    • OpenFOAM bot's avatar
      STYLE: format consistency for copyright · 2416599e
      OpenFOAM bot authored
    • mattijs's avatar
      BUG: Time: check for processorsDDD. Fixes #1679. · 392d497d
      mattijs authored
    • Mark Olesen's avatar
      CONFIG: improve detection of scotch system include/libraries · 06333efd
      Mark Olesen authored
      - align wmake have_* scripts to support version query as per current
        develop branch
      - use config.sh/ fallbacks when the corresponding *_ARCH_PATH is empty
        (eg, BOOST, CGAL, FFTW).
        This aids when building outside of the regular OpenFOAM environment.
    • Mark Olesen's avatar
      CONFIG: improve support for compiler derivatives (#1671) · 4200774d
      Mark Olesen authored
      - add '[-+.~]' to the recognized qualifiers.
        This allows simple readable names such as
        but also opens the FUTURE (not yet supported) possibility of
        combining in additional information. For example,
        by using '+' (add) and '~' (subtract) notation similar to what
        spack uses.
      CONFIG: support 'override' rules
      - if present, compiler-family 'override' rules are included after
        compiler-family 'general' rules have been included. This allows a
        central means for including dynamically generated content to
        override some values.
        Some examples:
        To handle different gcc versions (system compiler):
        ifneq (,$(findstring 9, $(WM_COMPILER)))
            cc  := gcc-9
            CC  := g++-9 -std=c++11
        To handle different openmp on Darwin (#1656):
        # Use libomp (not libgomp) unless openmp is disabled
        ifeq (,$(findstring "~openmp", "$(WM_COMPILER)"))
            COMP_OPENMP = -DUSE_OMP -Xpreprocessor -fopenmp
            LINK_OPENMP = -lomp
            include $(GENERAL_RULES)/no-openmp
        This treatment arguably fits into wmake/rules/darwin64Clang/general,
        but it serves to illustrate a possible use case.
    • Mark Olesen's avatar
      CONFIG: handle openmp on Darwin (#1656) · 04b5291c
      Mark Olesen authored
      - requires -Xpreprocessor
      - uses 'libomp' (no 'libgomp' link)
  2. 14 Apr, 2020 2 commits
  3. 09 Apr, 2020 1 commit
  4. 08 Apr, 2020 5 commits
    • sergio's avatar
      BUG: Fixing sign of qr in externalWallHeatFluxTemperature · 647e1615
      sergio authored
      1) The sign of radiative flux (qr) for modes Power and HeatFlux was
      2) Relaxation factor implementation was incomplete. Now caching
      valueFraction and refValue from  the previous time step.
    • sergio's avatar
      ENH: adding momemtumErro FO · 5425de66
      sergio authored
    • Mark Olesen's avatar
      CONFIG: improve config files for Darwin (#1667), BSD-csh syntax (#1668) · f01ad2f1
      Mark Olesen authored
      - use Clang instead of Gcc for Darwin since this is its system
        compiler. The user can force use of Gcc by using Gcc92 etc.
      - make etc/cshrc sed check more robust.
      - replace tcsh (${%var}) syntax with ("${var}" != "")
      [Fixes and ideas from Alexey Matveichev]
      CONFIG: do not source the gperftools environment by default
      - this is now an used feature, but can be re-enabled by advanced users
        if required.
    • Mark Olesen's avatar
      ENH: improve foamConfigurePaths, remove some antiquated tools · 3fd91c90
      Mark Olesen authored
      - add edit of llvm/mesa/vtk paths. Reduce some verbosity
      - include Darwin in foamInstallationTest, foamSystemCheck to avoid
        a false negative.
    • Mark Olesen's avatar
      BUG: minor regression in surface reading of compressed files (#1600) · 5f90964d
      Mark Olesen authored
      - as a side-effect of recent changes, command-line stripping of .gz
        extensions on input was lost. For example,
            OK:    surfaceTransformPoints file.stl ...
            Fail:  surfaceTransformPoints file.stl.gz ...
      - restore the previous behaviour of silently stripping the '.gz'
        extension on input.
      ENH: add triSurface::New selector entry point
      - for symmetry with MeshedSurface
  5. 06 Apr, 2020 6 commits
  6. 03 Apr, 2020 6 commits
  7. 02 Apr, 2020 4 commits
  8. 01 Apr, 2020 4 commits
    • Mark Olesen's avatar
      ENH: adjustments to error streams · 617b6027
      Mark Olesen authored
      - refactor common exit/abort code
      - support single-parameter output. Eg,
              << "Cannot load something\n"
              << exit(FatalError);
    • 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;
    • Andrew Heather's avatar
    • Mark Olesen's avatar
      GIT: remove unused files · b2a3e948
      Mark Olesen authored
      - orphaned file: extendedFeatureEdgeMeshI.H
      - unused primitiveFaceZone typedef.
        Identical to indirectPrimitivePatch typedef
  9. 30 Mar, 2020 1 commit
  10. 31 Mar, 2020 1 commit
  11. 30 Mar, 2020 1 commit
  12. 25 Mar, 2020 2 commits