1. 09 Aug, 2018 1 commit
  2. 08 Aug, 2018 3 commits
    • Mark OLESEN's avatar
      STYLE: use edgeHashes include · ca5d9123
      Mark OLESEN authored
      STYLE: use initial hash size 128 instead of 100 in a few places
      ca5d9123
    • Mark OLESEN's avatar
      ENH: add missing Hash function for List/UList (issue #966) · dd9ecd49
      Mark OLESEN authored
      - there were previously no hashing mechanisms for lists so they
        would fall back to the definition for primitives and hash the
        memory location of the allocated List object.
      
      - provide a UList::Hash<> sub-class for inheritance, and also a global
        specialization for UList<T>, List<T> such that the hash value for
        List<List<T>> cascades properly.
      
      - provide similar function in triFace to ensure that it remains
        similar in behaviour to face.
      
      - added SymmHash to Pair, for use when order is unimportant.
      
      STYLE: use string::hash() more consistently
      
      - no particular reason to use Hash<word>() which forwards to
        string::hash() anyhow
      dd9ecd49
    • Mark OLESEN's avatar
      ENH: ignore -noFunctionObjects option when disabled · e0f83938
      Mark OLESEN authored
      - With argList::noFunctionObjects() we use the logic added in
        4b933332 (issue #352)
      
        By removing the '-noFunctionObjects' option, we automatically
        suppress the creation of function-objects via Time (with argList
        as a parameter).
        There is generally no need in these cases for an additional
      
            runTime.functionObjects().off()  statement
      
        Use the argList::noFunctionObjects() for more direct configuration
        and reduce unnecessary clutter in the -help information.
      
        In previous versions, the -noFunctionObjects would have been redundant
        anyhow, so we can also just ignore it now instead.
      e0f83938
  3. 07 Aug, 2018 1 commit
  4. 03 Aug, 2018 3 commits
    • Mark OLESEN's avatar
      ENH: additional methods and improvements to plane · de2eed3e
      Mark OLESEN authored
      - signedDistance() method is like distance() but retains
        the positive/negative sign for the side of the plane.
      
      - the sign() method returns the sign as -1,0,+1 integer for
        classification purposes where it is important to distinguish between
        a zero value and a positive value (eg, for cutting). Optional
        tolerance can be supplied to round for zero.
      
      - refactor and inlined simple and frequently used methods.
      
      - add boundBox faceCentre() method, which can be useful for creating
        clipping planes from a bounding box.
        Relocated treeBoundBox faceNormals to boundBox since they apply
        equally there - the meaning of the faces (x-min, x-max, etc)
        is the same, even if the point addressing for the faces differs.
      de2eed3e
    • Mark OLESEN's avatar
      ENH: added ZoneMesh indices(), selection() with wordRes matcher · 84e2df49
      Mark OLESEN authored
      - rationalized code dealing with extraction of name or indices from
        coordinateSystems, polyBoundaryMesh, faBoundaryMesh, fvBoundaryMesh,
        ZoneMesh to use internal implementations that allow direct
        searching/matching without building an intermediate list of names.
      
      - simpler and more efficient handling of patch group matching.
      84e2df49
    • Mark OLESEN's avatar
      ENH: avoid blockMesh removal of files for special cases (issue #963) · 319e09e3
      Mark OLESEN authored
      - do not remove if the dictionary failed to load.
      - do not remove if -blockTopology was used.
      319e09e3
  5. 02 Aug, 2018 2 commits
  6. 01 Aug, 2018 4 commits
  7. 31 Jul, 2018 2 commits
  8. 30 Jul, 2018 4 commits
  9. 27 Jul, 2018 3 commits
  10. 26 Jul, 2018 3 commits
  11. 25 Jul, 2018 4 commits
    • Mark OLESEN's avatar
      a8ef5610
    • Mark OLESEN's avatar
      ENH: fvMeshSubset improvements (issue #951) · dbe0db1d
      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);
      dbe0db1d
    • mattijs's avatar
      ENH: topoSet: check write status. Fixes #952 · 1abacf0d
      mattijs authored
      1abacf0d
    • Mark OLESEN's avatar
      a6b84927
  12. 24 Jul, 2018 2 commits
  13. 23 Jul, 2018 1 commit
  14. 11 Jul, 2018 1 commit
  15. 19 Jul, 2018 1 commit
  16. 28 Jun, 2018 1 commit
  17. 27 Jun, 2018 1 commit
  18. 26 Jun, 2018 2 commits
  19. 25 Jun, 2018 1 commit