Skip to content
Snippets Groups Projects
  1. Sep 20, 2017
    • Mark OLESEN's avatar
      ENH: update List and DynamicList methods (issue #595) · 049617d0
      Mark OLESEN authored
      - improve functional compatibility with DynList (remove methods)
        * eg, remove an element from any position in a DynamicList
        * reduce the number of template parameters
        * remove/subset regions of DynamicList
      
      - propagate Swap template specializations for lists, hashtables
      
      - move construct/assignment to various containers.
      
      - add find/found methods for FixedList and UList for a more succinct
        (and clearer?) usage than the equivalent global findIndex() function.
      
      - simplify List_FOR_ALL loops
      049617d0
    • Mark OLESEN's avatar
  2. Oct 04, 2017
  3. Oct 09, 2017
  4. Oct 05, 2017
  5. Oct 04, 2017
  6. Sep 29, 2017
  7. Sep 28, 2017
  8. Sep 27, 2017
  9. Sep 26, 2017
  10. Sep 22, 2017
  11. Sep 15, 2017
  12. Sep 26, 2017
  13. Sep 25, 2017
  14. Sep 22, 2017
  15. Sep 21, 2017
  16. Sep 18, 2017
    • Andrew Heather's avatar
      STYLE: Code clean-up · af48c843
      Andrew Heather authored
      af48c843
    • Mark OLESEN's avatar
      ENH: improve consistency in parsing primitives from strings (issue #590) · accebc74
      Mark OLESEN authored
      - Any trailing whitespace when parsing from strings or character buffers
        is ignored rather than being treated as an error. This is consistent
        with behaviour when reading from an Istream and with leading whitespace
        being ignored in the underlying atof/atod, strtof/strtod... functions.
      
      - Allow parsing directly from a std::string instead of just from a 'char*'.
        This reflects the C++11 addition of std::stod to complement the C
        functions strtod. This also makes it easier to parse string directly
        without using an IStringStream.
      
      - Two-parameter parsing methods return success/failure.
        Eg,
      
            if (readInt32(str, &int32Val)) ...
      
      - One-parameter parsing methods return the value on success or
        emit a FatalIOError.
        Eg,
      
            const char* buf;
            int32Val = readInt32(buf, &);
      
      - Improved consistency when parsing unsigned ints.
        Use strtoimax and strtoumax throughout.
      
      - Rename readDoubleScalar -> readDouble, readFloatScalar -> readFloat.
        Using the primitive name directly instead of the Foam typedef for
        better consistency with readInt32 etc.
      
      - Clean/improve parseNasScalar.
        Handle normal numbers directly, reduce some operations.
      accebc74
    • mattijs's avatar
    • mattijs's avatar
      ENH: mirrorMesh: run parallel. Fixes #587. · 404aa759
      mattijs authored
      Note that now mirrorMesh does not delete empty patches anymore.
      404aa759