1. 13 Nov, 2020 1 commit
  2. 10 Jun, 2020 1 commit
  3. 31 Oct, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 11 Dec, 2018 1 commit
    • Mark Olesen's avatar
      ENH: use Zero when zero-initializing types · 1d85fecf
      Mark Olesen authored
      - makes the intent clearer and avoids the need for additional
        constructor casting. Eg,
      
            labelList(10, Zero)    vs.  labelList(10, 0)
            scalarField(10, Zero)  vs.  scalarField(10, scalar(0))
            vectorField(10, Zero)  vs.  vectorField(10, vector::zero)
      1d85fecf
  6. 26 Nov, 2018 1 commit
  7. 27 Sep, 2018 1 commit
    • 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
  8. 23 Apr, 2018 1 commit
    • Mark Olesen's avatar
      ENH: change findCell mode in meshRefinement (issue #805) · 857eed5b
      Mark Olesen authored
      - in 2.4.x the general default for polyMesh::findCell was FACE_DIAG_TRIS,
        but this was changed to CELL_TETS for better handling of concave
        cells.
      
      - in snappyHexMesh meshRefinement, findCell is used to define
        locations in mesh and cells for closer refinement. Using CELL_TETS
        causes an octree rebuild when the mesh has changed and this adds
        considerable overhead. For this operation, the faster FACE_DIAG_TRIS
        mode can be used instead.
      857eed5b
  9. 28 Mar, 2018 1 commit
  10. 19 Nov, 2017 1 commit
  11. 21 Jul, 2017 1 commit
  12. 04 Jul, 2017 1 commit
  13. 25 Apr, 2016 2 commits
  14. 06 Jan, 2016 1 commit
  15. 10 Dec, 2015 1 commit
  16. 08 Dec, 2015 1 commit
  17. 28 Oct, 2015 4 commits