Skip to content
Snippets Groups Projects
  1. Aug 01, 2018
  2. Jul 27, 2018
  3. Aug 02, 2018
  4. Aug 01, 2018
  5. Jul 31, 2018
  6. Jul 30, 2018
  7. Jul 27, 2018
  8. Jul 30, 2018
  9. Jul 27, 2018
  10. Jul 26, 2018
  11. Jul 25, 2018
    • 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
    • Mark OLESEN's avatar
      ENH: additional labelHashSet -> bitSet conversion · 7446d30f
      Mark OLESEN authored
      - BitSetOps::create(len, locations, on) that generates a bitSet with
        the specified length. The optional 'on' bool can be used to flip the
        logic.
      7446d30f