1. 07 Jan, 2019 1 commit
  2. 30 May, 2019 1 commit
  3. 16 Dec, 2018 2 commits
  4. 15 Dec, 2018 1 commit
  5. 14 Dec, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: make "file" property in functionObjects a relative path (issue #1125) · 3fd38fce
      Mark OLESEN authored
      - partial solution for issue #1091
        This generates file properties that are case-relative,
                    file "<case>/postProcessing/plane0/1/p_plane0.vtk";
                    file "<case>/postProcessing/plane0/1/U_plane0.vtk";
         This allows the case to be moved elsewhere and still find its files.
         This functionality was previously added for vtkCloud, but now also
         applies to streamLine, sampledSets and sampledSurfaces
  6. 11 Dec, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: use Zero when zero-initializing types · 3d4e4a21
      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)
  7. 05 Dec, 2018 2 commits
  8. 29 Nov, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: improve setup for paraview · f88b74a0
      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.
      CONFIG: add so version to libcatalystFoam
      STYLE: add OpenFOAM/include directory in CMakeLists
      - eg for foamVersion.H
  9. 20 Nov, 2018 1 commit
  10. 08 Nov, 2018 1 commit
  11. 19 Oct, 2018 1 commit
    • Mark OLESEN's avatar
      STYLE: use range-for when looping dictionary entries. · 5527b00b
      Mark OLESEN authored
      - as part of the cleanup of dictionary access methods (c6520033c9c4)
        made the dictionary class single inheritance from IDLList<entry>.
        This eliminates any ambiguities for iterators and allows
        for simple use of range-for looping.
            for (const entry& e : topDict))
                Info<< "entry:" << e.keyword() << " is dict:" << e.isDict() << nl;
            forAllConstIter(dictionary, topDict, iter))
                Info<< "entry:" << iter().keyword()
                    << " is dict:" << iter().isDict() << nl;
  12. 18 Oct, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: cleanup of Enum class · 73116c4f
      Mark OLESEN authored
      - more dictionary-like methods, enforce keyType::LITERAL for all
        lookups to avoid any spurious keyword matching.
      - new readEntry, readIfPresent methods
      - The get() method replaces the now deprecate lookup() method.
      - Deprecate lookupOrFailsafe()
        Failsafe behaviour is now an optional parameter for lookupOrDefault,
        which makes it easier to tailor behaviour at runtime.
      - output of the names is now always flatted without line-breaks.
           os << flatOutput(someEnumNames.names()) << nl;
           os << someEnumNames << nl;
        both generate the same output.
      - Constructor now uses C-string (const char*) directly instead of
        Foam::word in its initializer_list.
      - Remove special enum + initializer_list constructor form since
        it can create unbounded lookup indices.
      - Removd old hasEnum, hasName forms that were provided during initial
        transition from NamedEnum.
      - Added static_assert on Enum contents to restrict to enum or
        integral values.  Should not likely be using this class to enumerate
        other things since it internally uses an 'int' for its values.
        Changed volumeType accordingly to enumerate on its type (enum),
        not the class itself.
  13. 05 Oct, 2018 1 commit
  14. 19 Sep, 2018 1 commit
  15. 03 Aug, 2018 1 commit
  16. 30 Jul, 2018 2 commits
  17. 26 Jul, 2018 1 commit
  18. 25 Jul, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: fvMeshSubset improvements (issue #951) · 9b662e70
      Mark OLESEN authored
      - what was previously termed 'setLargeCellSubset()' is now simply
        'setCellSubset()' and supports memory efficient interfaces.
        The new parameter ordering avoids ambiguities caused by default
        Old parameter order:
                const labelList& region,
                const label currentRegion,
                const label patchID = -1,
                const bool syncCouples = true
        New parameter order:
                const label regioni,
                const labelUList& regions,
                const label patchID = -1,
                const bool syncCouples = true
         And without ambiguity:
                const labelUList& selectedCells,
                const label patchID = -1,
                const bool syncCouples = true
      - support bitSet directly for specifying the selectedCells for
        memory efficiency and ease of use.
      - Additional constructors to perform setCellSubset() immediately,
        which simplifies coding.
        For example,
                new fvMeshSubset(mesh, selectedCells)
        Or even
            return autoPtr<fvMeshSubset>::New(mesh, selectedCells);
  19. 24 Jul, 2018 1 commit
  20. 20 Jul, 2018 1 commit
  21. 27 Jun, 2018 1 commit
  22. 26 Jun, 2018 3 commits
  23. 25 Jun, 2018 2 commits
  24. 24 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: overhaul of channel handling. Various bug fixes. (issue #6) · 015c05b4
      Mark OLESEN authored
      - removed fvMesh sub-channels if favour of selector flags.
        To enable/disable portions of the geometry:
            internal    true/false
            boundary    true/false
        This replaces the previous method of sub-channels in which restrictions
        were propagated from the pipeline through.
            Function Object:
                    fields    (U p);
                input = coprocessor.CreateProducer(datadescription, 'input/patches')
            Function Object:
                    internal  false;
                    fields    (U p);
                input = coprocessor.CreateProducer(datadescription, 'input')
  25. 23 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: improve direct use of cmake (issue #5) · 9687533b
      Mark OLESEN authored
      - allows cmake override of the default output library directory,
        which is normally $FOAM_LIBBIN
      ENH: additional debug verbosity
      - extra information (in parallel) when debug level > 1, which can help
        when isolating problems.
  26. 21 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: disable SIGFPE handling in catalyst loop · 2f033c58
      Mark OLESEN authored
      - if sigFpe is enabled within OpenFOAM, any errors in the Catalyst
        pipeline will potentially kill the entire simulation.
      - use the new sigFpe::ignore helper class to manage a local disabling
        of SIGFPE handling.
  27. 14 Jun, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: prune cloud fields by names only once · 9e58351c
      Mark OLESEN authored
      - can remove directly from the temporary objectRegistry prior to
        converting by field type. Cannot, however, do the same for volFields
        or areaFields since these reside on their respective mesh objects.
  28. 16 May, 2018 1 commit
  29. 15 May, 2018 1 commit
  30. 14 May, 2018 1 commit
  31. 11 May, 2018 1 commit
    • Mark OLESEN's avatar
      ENH: unified catalyst function object (closes #3) · 04daa405
      Mark OLESEN authored
      - previously had separate function objects for each category of source
        (finite volume, finite area, lagrangian). This lead to isolation of
        the individual input sources, which highly restricted the flexibility.
      - now have a single catalyst function object with an arbitrary number
        of inputs (sources). The catalyst channel name is that of the
        corresponds dictionary name. For volume mesh sources, it is possible
        to address "mesh" and "patches" sub-channels.
            mesh = coprocessor.CreateProducer(datadescription, 'myregion/mesh')
        This restructuring also aims at integration of other OpenFOAM content
        (eg, surfMesh, sampled probes, sampled surfaces) as a future
      - the output directory (by default "<case>/insitu") is passed onto
        catalyst as its working directory, using the upstream patches that
        now close issue #4
  32. 08 May, 2018 1 commit
  33. 02 May, 2018 1 commit
  34. 16 Apr, 2018 1 commit