1. 05 Oct, 2018 2 commits
  2. 28 Sep, 2018 5 commits
  3. 27 Sep, 2018 2 commits
    • Andrew Heather's avatar
      ENH: polyPatch - added areaFraction method · 0f4c6572
      Andrew Heather authored
      Helper function to calculate the current face area vs the area returned
      from the current point locations.  Useful for ACMI-type baffles where we
      scale the face areas without moving points.
      0f4c6572
    • Mark Olesen's avatar
      STYLE: add nBoundaryFaces() method to primitiveMesh · 64c3e484
      Mark Olesen authored
      - nBoundaryFaces() is often used and is identical to
        (nFaces() - nInternalFaces()).
      
      - forward the mesh nInternalFaces() and nBoundaryFaces() to
        polyBoundaryMesh as nFaces() and start() respectively,
        for use when operating on a polyBoundaryMesh.
      
      STYLE:
      
      - use identity() function with starting offset when creating boundary maps.
      
           labelList map
           (
               identity(mesh.nBoundaryFaces(), mesh.nInternalFaces())
           );
      
        vs.
      
           labelList map(mesh.nBoundaryFaces());
           forAll(map, i)
           {
               map[i] = mesh.nInternalFaces() + i;
           }
      64c3e484
  4. 20 Sep, 2018 1 commit
  5. 19 Sep, 2018 4 commits
  6. 13 Sep, 2018 2 commits
  7. 11 Sep, 2018 1 commit
  8. 10 Sep, 2018 3 commits
  9. 29 Aug, 2018 1 commit
  10. 27 Aug, 2018 1 commit
  11. 09 Aug, 2018 2 commits
  12. 08 Aug, 2018 4 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
      STYLE: use readList mechanism for -funcs option · 82bad81d
      Mark Olesen authored
      - allows single or multiple entries
      82bad81d
    • 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
  13. 07 Aug, 2018 2 commits
  14. 06 Aug, 2018 3 commits
  15. 03 Aug, 2018 4 commits
    • Mark Olesen's avatar
      ENH: avoid raw dictionary lookup in fvOptions (issue #762) · e7c1d469
      Mark Olesen authored
      Style changes:
          - use lookupObjectRef instead of using const_cast
          - use tmp::New factory
      e7c1d469
    • 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: add isAOp, isTypeOp functors · 91e2fc4d
      Mark Olesen authored
      - can be used in predicate matching
      
      - getNameOp, getTypeOp for accessing the name() and type() of objects
      91e2fc4d
  16. 02 Aug, 2018 3 commits