1. 25 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      CONFIG: eliminate most occurances of outdated FOAM_INST_DIR (issue #444) · 831a47b8
      Mark OLESEN authored
      - since 1612, FOAM_INST_DIR and foamInstDir longer have any
        special meanings when sourcing the bashrc or cshrc files.
        Thus no need for special treatment in any of the dispatch wrappers.
      
        Retained FOAM_INST_DIR as (unexported) variable in etc/bashrc,
        just in case people are using patched versions of etc/bashrc
        as part of their installation.
      
      ENH: relax prefix restrictions on foamCreateVideo (issue #904)
      
      - shift the implicit '.' to be part of the default prefix. This allows
        things like "-image myimages_00" to work as might be expected.
      831a47b8
  2. 24 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      SUBMODULE: updates for catalyst · d9568a4b
      Mark OLESEN authored
      - SIGFPE handling, cmake configuration
      
      CONFIG: adjust for simplified Catalyst channel naming
      
      - no sub-channels, select volField output based in the
        (internal | boundary) dictionary switches instead
      d9568a4b
  3. 18 Jun, 2018 1 commit
    • Andrew Heather's avatar
      BUG: Correction to commit 8540e6fb · dad09c5e
      Andrew Heather authored
      - corrected the mass based correction and updated the misleading function
        arguments
      
      - moved the option to the optimisation switches, e.g.:
      
          OptimisationSwitches
          {
              experimentalDdtCorr 1;
          }
      
      - default remains off/no (0)
      dad09c5e
  4. 21 Jun, 2018 1 commit
  5. 19 Jun, 2018 2 commits
  6. 11 Jun, 2018 1 commit
  7. 07 Jun, 2018 1 commit
  8. 17 May, 2018 1 commit
    • Haakan Nilsson's avatar
      STYLE: foamPwd (posix) function with some env replacements (issue #844) · d8ea41e7
      Haakan Nilsson authored and Mark OLESEN's avatar Mark OLESEN committed
      - the current working path with replacements for base-level
        OpenFOAM env variables such as FOAM_RUN, WM_PROJECT_DIR,
        WM_PROJECT_USER_DIR etc
      
        Can be used directly from the command-line or embedded into a
        command prompt. For example,
      
            PS1='$(foamPwd)\n\u\$ '
      
      - aliases for user solver/utilities located under "$WM_PROJECT_USER_DIR":
        (ufoam, uapp, usol, uutil)
      d8ea41e7
  9. 30 Dec, 2017 1 commit
  10. 21 Dec, 2017 1 commit
  11. 19 Dec, 2017 2 commits
    • Mark OLESEN's avatar
      CONFIG: add clang third-party lib to LD_LIBRARY_PATH · 995c55b6
      Mark OLESEN authored
      - required if there is no system openmp and libomp or libgomp are
        only found in the clang hierarchy
      
      STYLE: add some notes in the openmp rules.
      
      - the _OPENMP macro is now used in low-level testing files
      995c55b6
    • Mark OLESEN's avatar
      ENH: additional options for transforming points (closes #660) · 00325db3
      Mark OLESEN authored
      - The -rotate-angle option allows convenient specification of a
        rotation about an arbitrary axis. Eg, -rotate-angle '((1 1 1) 45)'
      
      - The -origin option can be used to temporarily shift the origin
        for the rotation operations. For example,
      
            -origin '(0 0 1)' -rotate-angle '((1 0 0) 180)'
      
        for mirroring.
      00325db3
  12. 18 Dec, 2017 2 commits
  13. 17 Dec, 2017 1 commit
  14. 15 Dec, 2017 1 commit
  15. 14 Dec, 2017 3 commits
  16. 21 May, 2018 1 commit
  17. 15 May, 2018 1 commit
  18. 14 May, 2018 1 commit
  19. 11 May, 2018 1 commit
  20. 07 May, 2018 1 commit
  21. 30 Apr, 2018 1 commit
  22. 27 Apr, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: make format of ExecutionTime = ... output configurable (issue #788) · dd8341f6
      Mark OLESEN authored
      - controlled by the the 'printExecutionFormat' InfoSwitch in
        etc/controlDict
      
            // Style for "ExecutionTime = " output
            // - 0 = seconds (with trailing 's')
            // - 1 = day-hh:mm:ss
      
         ExecutionTime = 112135.2 s  ClockTime = 113017 s
      
         ExecutionTime = 1-07:08:55.20  ClockTime = 1-07:23:37
      
      - Callable via the new Time::printExecutionTime() method,
        which also helps to reduce clutter in the applications.
        Eg,
      
           runTime.printExecutionTime(Info);
      
        vs
      
           Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
               << "  ClockTime = " << runTime.elapsedClockTime() << " s"
               << nl << endl;
      
      --
      
      ENH: return elapsedClockTime() and clockTimeIncrement as double
      
      - previously returned as time_t, which is less portable.
      dd8341f6
  23. 24 Apr, 2018 3 commits
    • Mark OLESEN's avatar
      CONFIG: adjust make scripts for darwin · 76cb38fb
      Mark OLESEN authored
      - handling of dead links (find -L -delete unsupported)
      
      - remove ignore case flag on 's/../../i' used in have_scotch script.
        It is unneeded and not tolerated by Darwin's sed.
      
      - avoid embedded comments in EXE_INC (Make/options files), which do
        not work well with the OSX LLVM cpp.
        It strips out the comments but also removes the continuation char.
      
      STYLE: adjust notes about paraview library locations
      76cb38fb
    • Mark OLESEN's avatar
      CONFIG: remove WM_LINK_LANGUAGE env variable (always c++) · 2768500d
      Mark OLESEN authored
      - was somewhat redundant in wmake/rules/General/general anyhow
      2768500d
    • Mark OLESEN's avatar
      ENH: improve handling of ThirdParty packages · b4d38ab4
      Mark OLESEN authored
      - generalize some of the library extensions (.so vs .dylib).
        Provide as wmake 'sysFunctions'
      
      - added note about unsupported/incomplete system support
      
      - centralize detection of ThirdParty packages into wmake/ subdirectory
        by providing a series of scripts in the spirit of GNU autoconfig.
        For example,
      
            have_boost, have_readline, have_scotch, ...
      
        Each of the `have_<package>` scripts will generally provide the
        following type of functions:
      
            have_<package>          # detection
            no_<package>            # reset
            echo_<package>          # echoing
      
        and the following type of variables:
      
            HAVE_<package>          # unset or 'true'
            <package>_ARCH_PATH     # root for <package>
            <package>_INC_DIR       # include directory for <package>
            <package>_LIB_DIR       # library directory for <package>
      
        This simplifies the calling scripts:
      
            if have_metis
            then
                wmake metisDecomp
            fi
      
        As well as reduci...
      b4d38ab4
  24. 19 Apr, 2018 2 commits
  25. 16 Apr, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: add alternative STL ASCII parsers · ea71484e
      Mark OLESEN authored
      - In addition to the traditional Flex-based parser, added a Ragel-based
        parser and a handwritten one.
      
        Some representative timings for reading 5874387 points (1958129 tris):
      
            Flex   Ragel   Manual
            5.2s   4.8s    6.7s         total reading time
            3.8s   3.4s    5.3s         without point merging
      ea71484e
  26. 12 Apr, 2018 1 commit
  27. 11 Apr, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: allow "<case>", "<system>" ... in the string expansions (issue #792) · 5f88e427
      Mark OLESEN authored
      - the expansions were previously required as slash to follow, but
        now either are possible.
      
          "<case>", "<case>/" both yield the same as "$FOAM_CASE" and
          will not have a trailing slash in the result. The expansion of
          "$FOAM_CASE/" will however have a trailing slash.
      
      - adjust additional files using these expansions
      5f88e427
  28. 09 Apr, 2018 1 commit
  29. 11 Apr, 2018 2 commits
  30. 10 Apr, 2018 1 commit
  31. 21 Mar, 2018 1 commit