1. 31 Oct, 2019 1 commit
  2. 24 Jun, 2019 1 commit
  3. 14 Jun, 2019 2 commits
  4. 07 Jun, 2019 1 commit
    • Sergio Ferraris's avatar
      INT: Org integration of VOF, Euler phase solvers and models. · 8170f2ad
      Sergio Ferraris authored
      Integration of VOF MULES new interfaces. Update of VOF solvers and all instances
      of MULES in the code.
      Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models
      Updating reactingEuler tutorials accordingly (most of them tested)
      
      New eRefConst thermo used in tutorials. Some modifications at thermo specie level
      affecting mostly eThermo. hThermo mostly unaffected
      
      New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial.
      
      Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved
      to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for
      chtMultiRegionTwoPhaseEulerFoam.
      
      Update of interCondensatingEvaporatingFoam solver.
      8170f2ad
  5. 04 Jun, 2019 1 commit
    • Mark Olesen's avatar
      ENH: improved handling of regIOobject deletion (#1276) · e120df09
      Mark Olesen authored
      - remove registration and ownership before deleting a regIOobject
        from within objectRegistry to avoid possible recursion.
      
      - regIOobject destructor now removes any registered object from
        registry regardless if ownedByRegistry or not. It also removes
        always removes the ownership flag to avoid possible recursion.
      
      - the regIOobject::checkOut() now unconditionally clears file watches.
        These will only be there if the object is registered (a no-op for an
        unregistered object), but this additional safety is needed to manage
        case where the registration has been modified elsewhere (eg, by the
        objectRegistry).
      e120df09
  6. 03 Jun, 2019 2 commits
  7. 31 May, 2019 1 commit
  8. 01 May, 2019 2 commits
    • Mark Olesen's avatar
    • Mark Olesen's avatar
      ENH: ensure that content changes in coded objects are noticed (#1293) · a85c55bb
      Mark Olesen authored
      - for codedFunctionObject and CodedSource the main code snippets
        were not included in the SHA1 calculation, which meant that many
        changes would not be noticed and no new library would be compiled.
      
        As a workaround, a dummy 'code' entry could be used solely for the
        purposes of generating a SHA1, but this is easily forgotten.
      
        We now allow tracking of the dynamicCodeContext for the coded
        objects and append to the SHA1 hasher with specific entries.
        This should solve the previous misbehaviour.
      
        We additionally add information about the ordering of the code
        sections. Suppose we have a coded function object (all code
        segments are optional) with the following:
      
            codeExecute "";
            codeWrite   #{ Info<< "Called\n"; #};
      
        which we subsequently change to this:
      
            codeExecute #{ Info<< "Called\n"; #};
            codeWrite   "";
      
        If the code strings are simply concatenated together, the SHA1 hashes
        will be identical. We thus 'salt' with their semantic locations,
        choosing tags that are unlikely to occur within the code strings
        themselves.
      
      - simplify the coded templates with constexpr for the SHA1sum
        information.
      
      - Correct the CodedSource to use 'codeConstrain' instead of
        'codeSetValue' for consistency with the underlying functions.
      a85c55bb
  9. 30 Apr, 2019 1 commit
    • Mark Olesen's avatar
      ENH: no string quotes when using OSHA1stream (#1301) · 26a391b1
      Mark Olesen authored
      - previously would have different SHA1 depending on whether the
        string was a C-string, a C++-string or if the SHA1 was calculated
        directly or via the OSHA1stream.
      
          - SHA1("string")
          - OSHA1stream << "string";
          - OSHA1stream << string("string");
      
        By avoiding string quoting on output, they now all deliver the same
        result. This also means that the following will no longer change the SHA1
        content, since it does not add anything:
      
          osha<< string() << string() << string() << string();
      
        This would have previously add a pair of double quotes each time!
      26a391b1
  10. 26 Apr, 2019 1 commit
  11. 24 Apr, 2019 3 commits
  12. 17 Apr, 2019 2 commits
  13. 16 Apr, 2019 2 commits
  14. 15 Apr, 2019 1 commit
  15. 12 Apr, 2019 1 commit
  16. 10 Apr, 2019 1 commit
  17. 06 Apr, 2019 1 commit
  18. 02 Apr, 2019 1 commit
  19. 03 Apr, 2019 1 commit
  20. 14 Mar, 2019 1 commit
    • Mark Olesen's avatar
      ENH: reorganize regular expressions and add C++11 regex support · 48787737
      Mark Olesen authored
      - new regExpCxx wrapper for C++11 regex support with drop-in
        compatibility with existing code.
      
      - regExpPosix (was regExp), for future phase out in favour of regExpCxx.
      
      - The regExp header will continue to be used for defining an
        appropriate typedef corresponding to the preferred implementation.
      48787737
  21. 22 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: additional PtrList constructor and memory management method · 7795adfc
      Mark Olesen authored
      - PtrList::release() method.
      
        Similar to autoPtr and unique_ptr and clearer in purpose than
        using set(i,nullptr)
      
      - Construct from List of pointers, taking ownership.
      
        Useful when upgrading code. Eg,
      
           List<polyPatch*> oldList = ...;
           PtrList<polyPatch> newList(oldList);
           ...
      
      BUG: incorrect resizing method names (PtrDynList) in previously unused code
      7795adfc
  22. 14 Jun, 2019 1 commit
  23. 23 May, 2019 2 commits
  24. 21 May, 2019 1 commit
    • Mark Olesen's avatar
      ENH: dictionary checking methods with predicates on the input values · 32916fa8
      Mark Olesen authored
      - can be used to check the validity of input values.
      
      Example:
      
          dict.getCheck<label>("nIters", greaterOp1<label>(0));
          dict.getCheck<scalar>("relax", scalarMinMax::zero_one());
      
      - use 'get' prefix for more regular dictionary methods.
        Eg, getOrDefault() as alternative to lookupOrDefault()
      
      - additional ops for convenient construction of predicates
      
      ENH: make dictionary writeOptionalEntries integer
      
      - allow triggering of Fatal if default values are used
      
      ENH: additional scalarRange static methods: ge0, gt0, zero_one
      
      - use GREAT instead of VGREAT for internal placeholders
      
      - additional MinMax static methods: gt, le
      32916fa8
  25. 17 May, 2019 1 commit
  26. 23 Jan, 2019 1 commit
  27. 07 Jan, 2019 1 commit
  28. 14 Feb, 2019 1 commit
    • Mark Olesen's avatar
      ENH: ensure self-assignment and self-swapping are a no-op for string types · 60c31415
      Mark Olesen authored
      - simplifies their use when reordering lists etc.
        (word, fileName, keyType, wordRe)
      
      - "unfriend" IO operators for string types. They require no internal access
      
      - add compile/uncompile methods to keyType for symmetry with wordRe
      
      - when outputting keyType/wordRe, be more explicit about them using
        writeQuoted()
      60c31415
  29. 13 Feb, 2019 1 commit
  30. 12 Feb, 2019 1 commit
  31. 08 Feb, 2019 1 commit
  32. 11 Feb, 2019 1 commit