Skip to content
Snippets Groups Projects
  1. Aug 12, 2016
  2. Aug 11, 2016
  3. Aug 09, 2016
  4. Aug 08, 2016
  5. Aug 07, 2016
  6. Aug 05, 2016
  7. Aug 03, 2016
  8. Aug 02, 2016
    • Henry Weller's avatar
      List: Reinstated construction from two iterators and added construction from an initializer list · d01eb45c
      Henry Weller authored
      Until C++ supports 'concepts' the only way to support construction from
      two iterators is to provide a constructor of the form:
      
              template<class InputIterator>
              List(InputIterator first, InputIterator last);
      
      which for some types conflicts with
      
              //- Construct with given size and value for all elements
              List(const label, const T&);
      
      e.g. to construct a list of 5 scalars initialized to 0:
      
          List<scalar> sl(5, 0);
      
      causes a conflict because the initialization type is 'int' rather than
      'scalar'.  This conflict may be resolved by specifying the type of the
      initialization value:
      
          List<scalar> sl(5, scalar(0));
      
      The new initializer list contructor provides a convenient and efficient alternative
      to using 'IStringStream' to provide an initial list of values:
      
          List<vector> list4(IStringStream("((0 1 2) (3 4 5) (6 7 8))")());
      
      or
      
          List<vector> list4
          {
              vector(0, 1, 2),
              vector(3, 4, 5),
              vector(6, 7, 8)
          };
      d01eb45c
  9. Jul 19, 2016
  10. Jul 18, 2016
  11. Jul 17, 2016
  12. Jul 15, 2016
  13. Jul 12, 2016
  14. Jul 11, 2016
    • Henry Weller's avatar
      ODESolvers: Add support for efficient ODE solver resizing · a5d73747
      Henry Weller authored
      Note: this reuses the existing storage rather than costly reallocation
      which requires the initial allocation to be sufficient for the largest
      size the ODE system might have.  Attempt to set a size larger than the
      initial size is a fatal error.
      a5d73747
  15. Jul 09, 2016
  16. Jul 06, 2016
  17. Jul 05, 2016
  18. Jul 01, 2016
  19. Jun 30, 2016
  20. Jun 29, 2016
  21. Jun 21, 2016
  22. Jun 20, 2016
  23. Jun 19, 2016
  24. Jun 17, 2016
  25. Jun 16, 2016
  26. Jun 14, 2016