1. 31 Jan, 2019 1 commit
  2. 26 Jan, 2019 1 commit
  3. 23 Jan, 2019 2 commits
  4. 22 Jan, 2019 1 commit
  5. 17 Jan, 2019 1 commit
  6. 14 Jan, 2019 1 commit
  7. 10 Jan, 2019 2 commits
  8. 08 Jan, 2019 1 commit
  9. 07 Jan, 2019 1 commit
  10. 21 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · e23bd3bb
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
  11. 20 Dec, 2018 1 commit
  12. 19 Dec, 2018 1 commit
  13. 17 Dec, 2018 1 commit
  14. 15 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: simplify use of case-relative paths · 70a50d61
      Mark Olesen authored
      - provide relativePath() for argList and for Time.
        These are relative to the case globalPath().
           Info<< "output: " << runTime.relativePath(outputFile) << nl;
  15. 13 Dec, 2018 1 commit
  16. 12 Dec, 2018 1 commit
  17. 11 Dec, 2018 1 commit
  18. 10 Dec, 2018 3 commits
  19. 05 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: code cleanup for vtk transcription · b2b4517c
      Mark Olesen authored
      - use cellCentres() instead of volField equivalent for vtk conversion
      - make looping variables more consistent
      - centralize the transcription of OpenFOAM -> vtk tuples
  20. 04 Dec, 2018 1 commit
  21. 03 Dec, 2018 1 commit
    • Mark Olesen's avatar
      CONFIG: adjustments to environment · 99505b84
      Mark Olesen authored
      - provide default WM_DIR if not already set, to improve robustness if a
        reduced environment is used
      - add etc/ to WM_PROJECT_SITE search. This makes the site directory
        structure consistent with the OpenFOAM structure.
      - Don't set/export WM_OSTYPE.  The default is POSIX and is properly
        defaulted throughout, including in CMakeLists-OpenFOAM.txt (also for
  22. 29 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: improve setup for paraview · b38efe61
      Mark Olesen authored
      - removed reliance on ParaView_INCLUDE_DIR variable for conveying the
        major.minor version information when compiling. This can be somewhat
        fragile and also adds variable that is an unnecessary when running
        (only used when compiling).
        Instead use `have_pvplugin_support` function in paraviewFunctions
        wmake script to determine the maj.min from the PV_PLUGIN_PATH
        since we have already defined the output path there with paraview
        maj.min numbering.
        Can now build with paraview from the operating system,
        provided that it has develop headers available.
        In the etc/config.sh/paraview setup, the maj.min is taken from
        the corresponding `paraview --version` output and used when
        defining the PV_PLUGIN_PATH.
        During the build, the include path taken from `paraview-config`
        for a system installation, from the guess installation root
        of the paraview binary, or ParaView_DIR otherwise.
      NB: using a system ParaView for building runTimePostProcessing is unsupported.
      - these types of builds appear to have various library resolution issues
        (eg, libexpat not being loaded). Additionally, the build logic does
        not yet cover this type of use case.
  23. 28 Nov, 2018 2 commits
    • Mark Olesen's avatar
      ENH: additional variants of IOobjectList findObject() · baa5eb9c
      Mark Olesen authored
      - cfindObject() for const pointer access.
      - getObject() for mutable non-const pointer access, similar to the
      - cfindObject(), findObject(), getObject() with template type access
        to also check the headerClassName.
        For example,
            cfindObject("U")  ->  good
            cfindObject<volVectorField>("U") -> good
            cfindObject<volScalarField>("U") -> nullptr
        This allows inversion of looping logic.
          1) Obtain the names for a particular Type
             for (const word& objName : objs.sortedNames<Type>())
                 const IOobject* io = objs[objName];
          2) Use previously obtained names and apply to a particular Type
             for (const word& objName : someListOfNames)
                 const IOobject* io = objs.cfindObject<Type>(objName);
                 if (io)
    • Mark Olesen's avatar
      STYLE: const-correctness on IOobject* access · a7caec75
      Mark Olesen authored
      - foamToEnsight, foamToEnsightParts, profiling
  24. 25 Nov, 2018 2 commits
  25. 24 Nov, 2018 8 commits
    • Mark Olesen's avatar
      BUG: errors found in feature-vtm merge !213 · c7f53f62
      Mark Olesen authored
      - vtkWrite with moving mesh was not updated the subsets properly,
        which caused it to crash.
      - foamToVTK -overwrite ignored for single region cases,
        was working for multi-region cases
      - minor documentation changes
    • Mark Olesen's avatar
      ENH: restructuring of foamToEnsight code · 4152de5c
      Mark Olesen authored
      - align with foamToVTK code base
    • Mark Olesen's avatar
      ENH: rewrite of foamToVTK to include parallel output (#926) · 76f515f0
      Mark Olesen authored
      - Default format is now XML binary (base64) instead of legacy format.
        The old -xml option is redundant and ignored.
        The new -legacy option can be used to force legacy output instead.
      - Polyhedral decomposition is now off by default (old -poly is ignored).
        The option -poly-decomp forces decomposition of polyhedrals into
        primitive shapes.
      - reduced memory footprint by reading and converting fields
      - Creation of symlinks to processor files is no longer required or
        desired. The old -noLinks option is ignored.
      - Ignore -useTimeName option. Always number according to timeIndex.
    • Mark Olesen's avatar
      ENH: improvements to the parallelization of ensightCloud output · d6e04b52
      Mark Olesen authored
      - communication mode is now selectable (default is blocking)
      - eliminate serial-only version as being redundant
    • Mark Olesen's avatar
      ENH: cleanup ensightMesh method names and handling of internal vs boundary · d95d16c6
      Mark Olesen authored
      - this removes the old 'magically' means of suppressing the internal
        mesh in favour of specifying it directly.
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: parallel and xml output for vtk topoSet writers (issue #926) · 34a89c58
      Mark Olesen authored
      - introduce lower-level vtk::indirectPatchWriter class
    • Mark Olesen's avatar
      ENH: improvements for foamVtkOutput, foamVtkFormatter (issue #926) · 1b4fe17a
      Mark Olesen authored
      - parallel list output for foamVtkOutput
      - simplified '.series' file output
      - beginDataArray() method instead of openDataArray() + closeTag()
        since this seems to be the most common use anyhow.
        With an optional argument for leaving the tag open, this works the
        same as openDataArray() which may be deprecated in the future.
      - begin/end methods for CellData, PointData, FieldData (commonly used)
      - templating parameters for file headers, content version,
        legacy fields. This improves coding robustness and convenience of use.
      - use formatter and higher-level methods for legacy output
      - attribute quoting character now part of the formatter itself
        instead of as an argument for xmlAttr().
        Toggle with quoting() method.
      - pair-wise processing of xml attributes, which also allows them to be
        passed as optional entries when creating an xml tag.
      - xmlComment with multiple arguments
  26. 23 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: improve consistency in version handling (issue #1010) · c26bb12f
      Mark Olesen authored
      - use std::string instead of c-string for the string constants
      - centralize some definitions of resources into foamVersion.H
        Now expose some of the hard-coded values used in foamEtcFiles()
        so that they can be known or even overridden as required.
        Relocate to src/OpenFOAM/include as a constant location.
  27. 22 Nov, 2018 1 commit
    • Mark Olesen's avatar
      ENH: isolate version information in foamVersion names instead of globals · f0f17cff
      Mark Olesen authored
      - For compatibility, access to the old global names is provided via
              #define FOAMversion     foamVersion::version
              #define FOAMbuild       foamVersion::build
              #define FOAMbuildArch   foamVersion::buildArch
      - this isolation makes it easier to provide additional scoped methods
        for dealing with version related information.  Eg, printBuildInfo()