1. 03 Aug, 2018 1 commit
  2. 30 Jul, 2018 2 commits
  3. 26 Jul, 2018 1 commit
  4. 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
        parameters.
      
        Old parameter order:
      
            setLargeCellSubset
            (
                const labelList& region,
                const label currentRegion,
                const label patchID = -1,
                const bool syncCouples = true
            );
      
        New parameter order:
      
            setCellSubset
            (
                const label regioni,
                const labelUList& regions,
                const label patchID = -1,
                const bool syncCouples = true
            );
      
         And without ambiguity:
      
            setCellSubset
            (
                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,
      
            meshParts.set
            (
                zonei,
                new fvMeshSubset(mesh, selectedCells)
            );
      
        Or even
      
            return autoPtr<fvMeshSubset>::New(mesh, selectedCells);
      9b662e70
  5. 24 Jul, 2018 1 commit
  6. 20 Jul, 2018 1 commit
  7. 27 Jun, 2018 1 commit
  8. 26 Jun, 2018 3 commits
  9. 25 Jun, 2018 2 commits
  10. 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.
      
        Before
        ======
            Function Object:
      
                input
                {
                    fields    (U p);
                }
      
            Pipeline:
                input = coprocessor.CreateProducer(datadescription, 'input/patches')
      
        Now
        ===
            Function Object:
      
                input
                {
                    internal  false;
                    fields    (U p);
                }
      
            Pipeline:
                input = coprocessor.CreateProducer(datadescription, 'input')
      015c05b4
  11. 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.
      9687533b
  12. 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.
      2f033c58
  13. 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.
      9e58351c
  14. 16 May, 2018 1 commit
  15. 15 May, 2018 1 commit
  16. 14 May, 2018 1 commit
  17. 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.
      
        Eg,
            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
        development.
      
      - the output directory (by default "<case>/insitu") is passed onto
        catalyst as its working directory, using the upstream patches that
        now close issue #4
      04daa405
  18. 08 May, 2018 1 commit
  19. 02 May, 2018 1 commit
  20. 16 Apr, 2018 1 commit
  21. 10 Apr, 2018 1 commit
    • Mark Olesen's avatar
      ENH: provide extra log feedback when catalyst function objects end. · eb5a9821
      Mark Olesen authored
      - Note that stopping the catalyst function object via a `timeEnd` value
        does not actually call the corresponding end() method.
      
        See: Development/OpenFOAM-plus#791
      
      ENH: support mkdir as dictionary keyword
      
      - this is a convenient means of creating an output directory from within
        the function object without corresponding python or shell script.
      
        Some pipelines (image generation) balk if the output directory does
        not exist. Others (vtm writer etc) will create their own.
      eb5a9821
  22. 03 Apr, 2018 1 commit
  23. 07 Jan, 2020 1 commit
  24. 23 Jun, 2018 1 commit
  25. 15 Jun, 2018 1 commit
    • Mark Olesen's avatar
      ENH: adjustments to runTimePostProcessing · 3c96e8db
      Mark Olesen authored
      - support VTP input in functionObjectCloud scene element
      
      - additional fallback lookup of cloud information from state properties
        instead of cloud OutputProperties
      3c96e8db
  26. 30 May, 2018 1 commit
  27. 17 May, 2018 1 commit
    • Mark Olesen's avatar
      ENH: avoid memory leaks for HashPtrTable, PtrMap insertion (issue #749) · 2c5cdebe
      Mark Olesen authored
      - disallow insert() of raw pointers, since a failed insertion
        (ie, entry already existed) results in an unmanaged pointer.
      
        Either insert using an autoPtr, or set() with raw pointers or autoPtr.
      
      - IOobjectList::add() now takes an autoPtr instead of an object reference
      
      - IOobjectList::remove() now returns an autoPtr instead of a raw pointer
      2c5cdebe
  28. 24 Apr, 2018 1 commit
    • Mark Olesen's avatar
      ENH: improve handling of ThirdParty packages · c794fa0d
      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 reducing clutter in the corresponding Make/options:
      
            EXE_INC = \
                -I$(METIS_INC_DIR) \
                -I../decompositionMethods/lnInclude
      
            LIB_LIBS = \
                -L$(METIS_LIB_DIR) -lmetis
      
        Any additional modifications (platform-specific or for an external build
        system) can now be made centrally.
      c794fa0d
  29. 18 Apr, 2018 1 commit
  30. 12 Apr, 2018 2 commits
  31. 11 Apr, 2018 1 commit
  32. 03 Apr, 2018 1 commit
  33. 26 Mar, 2018 1 commit
    • Mark Olesen's avatar
      STYLE: consistent lookupOrDefault template parameters · f2a7200c
      Mark Olesen authored
      - in many cases can just use lookupOrDefault("key", bool) instead of
        lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a
        bool from an Istream uses the Switch(Istream&) anyhow
      
      STYLE: relocated Switch string names into file-local scope
      f2a7200c
  34. 21 Mar, 2018 1 commit
  35. 27 Feb, 2018 1 commit