1. 06 Dec, 2019 1 commit
    • Mark Olesen's avatar
      ENH: add ITstream append and seek methods. · 9fd696e1
      Mark Olesen authored
      - ITstream append() would previously have used the append from the
        underlying tokenList, which leaves the tokenIndex untouched and
        renders the freshly appended tokens effectively invisible if
        interspersed with primitiveEntry::read() that itself uses tokenIndex
        when building the list.
      
        The new append() method makes this hidden ITstream bi-directionality
        easier to manage. For efficiency, we only append lists
        (not individual tokens) and support a 'lazy' resizing that allows
        the final resizing to occur later when all tokens have been appended.
      
      - The new ITstream seek() method provides a conveniently means to move
        to the end of the list or reposition to the middle.
        Using rewind() and using seek(0) are identical.
      
      ENH: added OTstream to output directly to a list of tokens
      
      ---
      
      BUG: List::newElem resized incorrectly
      
      - had a simple doubling of the List size without checking that this
        would indeed be sufficient for the requested index.
      
        Bug was ...
      9fd696e1
  2. 07 Dec, 2019 2 commits
  3. 09 Dec, 2019 1 commit
    • mattijs's avatar
      ENH: snappyHexMesh: proximity check · b7c54bc0
      mattijs authored
      This adds automatic deletion of cells inside small gaps. This is
      generally used to avoid having excessive numbers of cells in irrelevant
      areas of a geometry. It is nearly the opposite of automatic gap refinement
       - that refines cells to resolve the gap; this functionality removes cells
      to not mesh the gap.
      
      The proximity handling will remove those cells which are inside 'thin' gaps
      where 'thin' is defined as a distance of 2*'blockLevel'
      It will
      - detect surfaces which have the new 'blockLevel' specification
      - convert this to a minimum gap distance
      - detect cells which are inside this gap
      - remove these cells and add exposed faces to the nearest 'real' patch
      b7c54bc0
  4. 06 Dec, 2019 2 commits
  5. 03 Dec, 2019 1 commit
  6. 06 Dec, 2019 9 commits
  7. 02 Dec, 2019 2 commits
  8. 27 Nov, 2019 1 commit
  9. 26 Nov, 2019 3 commits
  10. 25 Nov, 2019 3 commits
  11. 20 Nov, 2019 1 commit
  12. 18 Nov, 2019 1 commit
  13. 25 Nov, 2019 1 commit
  14. 22 Nov, 2019 3 commits
  15. 20 Nov, 2019 2 commits
  16. 21 Nov, 2019 2 commits
  17. 20 Nov, 2019 2 commits
  18. 21 Nov, 2019 1 commit
  19. 20 Nov, 2019 1 commit
  20. 19 Nov, 2019 1 commit
    • Mark Olesen's avatar
      ENH: add move reset and move assignment for tmp, tmpNrc · 83d6aa42
      Mark Olesen authored
      - improves similarity to autoPtr. Simplifies coding.
      
        Example,
      
          tmp<volScalarField> tfield;
      
          // sometime later...
      
          tfield.reset
          (
              volScalarField::New("myfield", mesh, dimensionedScalar(Zero))
          );
      
      - as per tmp, disallow tmpNrc assignment from literal nullptr
      
      - as per autoPtr, allow explicit test as bool (same as valid).
      83d6aa42