Skip to content
Snippets Groups Projects
  1. Sep 15, 2010
    • Mark Olesen's avatar
      ENH: added binary IO for PackedList and compact ASCII format · b7c85357
      Mark Olesen authored
      The compact ASCII format is a block of index/value tuples for the
      non-zero entries:
      
          { (index1 value1) (index2 value2) (index3 value3) }
      
      For PackedList<1>, and thus PackedBoolList, the compact ASCII format is
      a block of indices for the non-zero entries:
      
          { index1 index2 index3 }
      
      Thus either of the following could be used - for PackedList<2>:
      
        - a list of all values:
              16(0 3 0 2 0 0 3 1 0 0 0 0 0 0 0 1)
      
        - a block of index/value tuples:
              {(1 3) (3 2) (7 3) (8 1) (15 1)}
      
      For PackedList<1> and PackedBoolList, either of the following could be
      used:
      
        - a list of all values, using any valid bool representation:
              16(0 1 0 true 0 0 t 1 0 n n 0 0 0 0 yes)
      
        - a block of the indices for non-zero entries:
              {1 3 7 8 15}
      b7c85357
  2. Sep 14, 2010
  3. Aug 11, 2010
  4. Aug 10, 2010
  5. Aug 09, 2010
  6. Aug 05, 2010
  7. Aug 04, 2010
  8. Aug 05, 2010
    • Mark Olesen's avatar
      ENH: improve speed/flexibility of pre-commit-hook · 1866a2b0
      Mark Olesen authored
      - only search indexed files (BUGFIX)
      - search for long-lines is faster when regex is anchored
      - use git grep logic instead of sed logic where possible
      
      - add support for running the hook manually as well.
        For example,
            bin/tools/pre-commit-hook  applications/test src/OpenFOAM/db
      
      - add some feedback to pre-commit hook:
        The hook can be really slow, at least let people know that something
        is happening
      1866a2b0
  9. Aug 03, 2010
  10. Aug 04, 2010
  11. Aug 06, 2010
  12. Jul 28, 2010
    • Mark Olesen's avatar
      ENH: Add PackedBoolList class (previously just a typedef) · e12581bf
      Mark Olesen authored
      ENH: adjust internal storage of PackedList to ensure that all unused
           internal storage elements are guaranteed to always be bit-wise
           zero. This makes the PackedBoolList implementation easier, and
           also greatly eases much of the book-keeping.
           Bits are now also zeroed on PackedList::clear()
      
      Note: in PackedList, require packing at least 2 items otherwise it is
           more efficient to use a normal list.
      e12581bf
  13. Aug 06, 2010
  14. Aug 05, 2010
  15. Aug 03, 2010
  16. Aug 02, 2010
  17. Jul 30, 2010
  18. Jul 29, 2010
  19. Jul 28, 2010
  20. Jul 27, 2010