1. 01 Feb, 2019 4 commits
    • Andrew Heather's avatar
      Merge branch 'feature-fieldLimits' into 'develop' · 7dc44ae0
      Andrew Heather authored
      Add minMax and clip field functions
      See merge request !230
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      COMP: template specialization in incorrect namespace · 60513758
      Mark Olesen authored
      STYLE: avoid local variable name masking
    • Mark Olesen's avatar
      ENH: restructuring of ensight output files · 3dd1a13b
      Mark Olesen authored
      - changed ensightOutput from a class solely comprising static methods to
        a namespace and added in sub-namespaces Detail and Serial.
        This makes it easier to "mix-in" functions at different levels.
        Refactored and combined some serial/parallel code where possible.
        The general ensightOutput namespace has now shifted to be in the
        fileFormats lib, while leaving volField outputs in the conversion lib
        and cloud outputs in the lagrangian-intermediate lib.
        The ensightCloud namespace is now simply folded into the new
        ensightOutput namespace.
        These changes clean up some code, reduce fragmentation and
        duplication and removes the previous libconversion dependency for
      - use int for ensight nTypes constexpr
      Note: issue #1176 is unaffected except for the change in file name:
         ensightOutputTemplates.C -> ensightOutputVolFieldTemplates.C
  2. 31 Jan, 2019 9 commits
  3. 30 Jan, 2019 10 commits
  4. 29 Jan, 2019 4 commits
    • Andrew Heather's avatar
    • Andrew Heather's avatar
      DOC: Updated cloudName -> cloud · 940fbe05
      Andrew Heather authored
    • Mark Olesen's avatar
      ENH: add initial support for compile-time project paths (#1050) · 89e60963
      Mark Olesen authored
          #define FOAM_CONFIGURED_PROJECT_ETC "/usr/share/openfoam/etc"
      This provides some easy to file patching locations, but is not yet
      integrated in the build system at all.
    • Mark Olesen's avatar
      ENH: add 'default' as possible Switch state, but not as input/output · fd348374
      Mark Olesen authored
      - in some circumstances we need to pass a bool value upwards to the
        caller and know if the true/false value was set based on real input
        or is a default value.
        Eg, in the object::read() we might normally have
           enabled_(dict.readIfPresent(key, true));
        but would lose information about why the value is true/false.
        We can change that by using
           enabled_(dict.readIfPresent<Switch>(key, Switch::DEFAULT_ON));
        After which we can use this information is testing.
              ? child.enabled()
              : parent.enabled()
            { ... }
         And thus enable output if the parent requested it explicitly or by
         default and it has not been explicitly disabled in the child.
        No difference when testing as a bool and the text representation
        of DEFAULT_ON / DEFAULT_OFF will simply be "true" / "false".
      ENH: add construction of Switch from dictionary (similar to Enum)
  5. 28 Jan, 2019 4 commits
  6. 26 Jan, 2019 5 commits
    • Mark Olesen's avatar
      STYLE: centralize example dictionaries under etc/ (issue #1074) · cc6e00bd
      Mark Olesen authored
      - as well as being more convenient to find, this is necessary when the
        OpenFOAM installation is without sources or tutorials
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      STYLE: reorganize some legacy and less frequently used components · 79fc6157
      Mark Olesen authored
      - older emacs tools into legacy
      - old process tools
      * Less frequently used scripts into bin/tools/
        - findEmptyMake
        - foamAllHC
        - foamUpdateCaseFileHeader
      * Infrastructure file (only used by foamNewApp)
        - wmake/wmakeFilesAndOptions -> wmake/scripts/wmakeFilesAndOptions
      * Merge wmakeRoot convenience as 'wmake -pwd'
      * Remove obsolete wmakePrintBuild (superseded by wmakeBuildInfo)
      * Remove unused mergeHistory file
    • Mark Olesen's avatar
      STYLE: limit foamCreateManpage to documented options · cfa8accf
      Mark Olesen authored
      Previously silently accepted '-o' as being equivalent to '-output',
      but the former could be misinterpreted meaning an output file (which
      it is not) instead of an output directory.
    • Mark Olesen's avatar
      CONFIG: combine wmake rules for KNL architecture as a compile option · 1d32efed
      Mark Olesen authored
      - instead of
            -> linux64GccKNLDPInt32Opt
        now specify
            -> linux64GccDPInt32OptKNL
      This makes it easier (and more obvious) for adding different tweaks
      without needing to generate too many files.
          cd wmake/rules/linux64Gcc
          cp cOpt   cOptBdw
          cp c++Opt c++OptBdw
          edit these two files and then use WM_COMPILE_OPTION=OptBdw
      CONFIG: provide some default c/c++ flags in General compiler rules
      - can make is easier when deriving new compile options, and ensures
        that '-02' is enabled as an initial default.
  7. 25 Jan, 2019 4 commits