Skip to content
Snippets Groups Projects
  1. Dec 05, 2016
  2. Nov 21, 2016
  3. Nov 20, 2016
  4. Nov 19, 2016
  5. Nov 17, 2016
  6. Nov 15, 2016
  7. Nov 14, 2016
    • Mark OLESEN's avatar
      Merge branch 'surface-declutter' into 'develop' · fff2ee54
      Mark OLESEN authored
      Surface declutter - issue #294
      
      Removing various clutter from surfMesh and triSurface
      - unused classes/files (backup copies on non-release repo)
      - relocate some triSurface-related classes to where they make more sense, and where they can be reused.
      - improve handling of various face types in MeshedSurface and UnsortedMeshedSurface (to bridge the gap to triSurface)
      - improve transfer methods for reclaiming/reusing surface allocations
      
      See merge request !77
      fff2ee54
  8. Nov 13, 2016
    • Mark Olesen's avatar
      ENH: provide ModifiableMeshedSurface class · e112eb50
      Mark Olesen authored
      - A special purpose MeshedSurface that exposes the stored values
        for direct modification.
      
      - Its usage should be restricted to special cases where the surface
        needs modifications as an atomic operation.
      e112eb50
    • Mark Olesen's avatar
      ENH: simplify check for metis sizes (issue #290) · 704620ae
      Mark Olesen authored
      - Now that the metisDecomp uses the metis definition for float/double,
        do not need to verify the scalar sizes.
      
      Note:
      - could drop precision qualifier for metis, scotch installation
        (include, lib) as being unneeded, but it is simpler to keep them
        and continue to use the FOAM_EXT_LIBBIN path
        (in case other ThirdParty software is compiled with different
        precisions).
      704620ae
  9. Nov 12, 2016
    • Mark Olesen's avatar
      ENH: provide xfer methods for the meshed surface components. · 52b6c49b
      Mark Olesen authored
      - the surfMesh classes where originally designed with limited
        (protected) access to the underlying components. This is to
        avoid unintentional direct changes, since these can quickly
        lead to inconsistencies with the topology addressing etc.
      
        However, if we wish to efficiently adjust surfaces, it is useful
        to modify the components directly.
        The compromise is to provide 'xfer' methods:
          - xferFaces()
          - xferPoints()
          - xferZones()
        These transfer the contents to an Xfer container for reuse, while
        also resetting the topology addressing.  To apply the changes,
        the reset() method is used.
      52b6c49b
  10. Nov 13, 2016
  11. Nov 12, 2016
  12. Nov 13, 2016
  13. Nov 12, 2016
    • Mark Olesen's avatar
      ENH: better handling of various face types in MeshedSurface (issue #294) · 88876e46
      Mark Olesen authored
      - ensure that MeshedSurface and UnsortedMeshedSurface can also work
        with labelledTri faces.
      
      - nTriangles() convenience method for meshed surfaces
      
      - MeshedSurface::addZonesToFaces() method to copy zone information
        into the labelledTri per-face region storage.
        The goal is to replace the triSurface reading routines with
        run-time selectable ones from surfMesh.
      88876e46
    • Mark Olesen's avatar
      ENH: ensure face, triFace and labelledTri all work consistently (issue #294) · a32eff4e
      Mark Olesen authored
      - triFace() now initialized with '-1', which makes it behave
        equivalently to face(label).
      
      - supply default region=0 for some labelledTri constructors.
        This allows labelledTri to work more like a triFace and makes it
        easier to use in templated methods and eases conversion from
        triFace to a labelledTri.
      
      - labelledTri(const labelUList&) can now be used when converting
        from a face. It can have 3 values (use default region)
        or 4 values (with region).
      
      - face, triFace, labelledTri now all support construction with
        initializer lists. This can be useful for certain types of code.
        Eg,
            triFace     f1{a, b, c};
            face        f2{a, b, c};
            labelledTri f3{a, b, c};
      
        Work without ambiguity.
        Also useful for templated methods:
      
            FaceType f{remap[a], remap[b], remap[c]};
      a32eff4e
    • Mark Olesen's avatar
      STYLE: rename MeshedSurfaceProxyCore -> MeshedSurfaceProxys for consistency · 4fbb59de
      Mark Olesen authored
      - it doesn't actually contain 'core' code, but rather various
        instances of MeshedSurfaceProxy.
      4fbb59de
    • Henry Weller's avatar
      metisDecomp: Use real_t for processor weights · 0b4ff455
      Henry Weller authored
      Based on patch contributed by Alexey Matveichev
      Resolves feature-request http://bugs.openfoam.org/view.php?id=2330
      0b4ff455
  14. Nov 13, 2016
    • Mark Olesen's avatar
      BUG: Field construct from Xfer<Field> fails (issued #298) · 28c75d8d
      Mark Olesen authored
      - Cannot pass through to underlying list constructor directly.
      
      - As this constructor was broken, there seem to be a number of
        workarounds scattered in the code. Could revisit them in the future
        as part of code-style:
      
            edgeMesh(const Xfer<pointField>&, const Xfer<edgeList>&);
            CompactIOField(const IOobject&, const Xfer<Field<T>>&);
            GlobalIOField(const IOobject&, const Xfer<Field<Type>>&);
            IOField(const IOobject&, const Xfer<Field<Type>>&);
      28c75d8d