Skip to content
Snippets Groups Projects
  1. Nov 07, 2018
    • Oliver Sander's avatar
      Deprecate constructor GeometryType(int) · ebfd7568
      Oliver Sander authored
      As decided at the 2018 dev meeting in Stuttgart.
      
      This constructor (and its cousin GeometryType(uint)) are not
      really needed with the new way to construct GeometryType objects.
      ebfd7568
    • Ansgar Burchardt's avatar
      [!110] use `std::vector` instead of `NoCopyVector` · 8d45d597
      Ansgar Burchardt authored
      Merge branch 'cleanup/remove-NoCopyVector' into 'master'
      
      ref:core/dune-geometry NoCopyVector is a very limited vector type for items
      missing a copy constructor. This was required in the past as vector's template
      parameter T "must meet the requirements of CopyAssignable and
      CopyConstructible", however since C++11 this was weakened to "The requirements
      that are imposed on the elements depend on the actual operations performed on
      the container" which should allow use with non-CopyAssignable and
      non-CopyConstructible types.
      
      See merge request [core/dune-geometry!110]
      
        [core/dune-geometry!110]: gitlab.dune-project.org/core/dune-geometry/merge_requests/110
      8d45d597
  2. Oct 24, 2018
    • Ansgar Burchardt's avatar
      use `std::vector` instead of `NoCopyVector` · efba241c
      Ansgar Burchardt authored
      `NoCopyVector` is a very limited vector type for items missing a copy
      constructor.  This was required in the past as `vector`'s template
      parameter `T` "must meet the requirements of CopyAssignable and
      CopyConstructible", however since C++11 this was weakened to "The
      requirements that are imposed on the elements depend on the actual
      operations performed on the container" which should allow use with
      non-CopyAssignable and non-CopyConstructible types.
      efba241c
  3. Sep 06, 2018
  4. Sep 05, 2018
  5. Aug 01, 2018
  6. Jul 27, 2018
  7. Jul 02, 2018
  8. Jun 29, 2018
  9. Apr 24, 2018
  10. Apr 20, 2018
  11. Apr 18, 2018
  12. Mar 29, 2018
  13. Mar 26, 2018
    • Carsten Gräser's avatar
      Allow ReferenceElement::size(i,c,cc) for cc<c · edcac37f
      Carsten Gräser authored
      While subEntity(i,c,j,cc) is surely not allowed for
      cc<c because there's no viable j, there's no reason
      to not allow this case for size(i,c,cc). Actually the
      implementation works nicely in this case and returns
      the correct number size zero. Any grid-specific
      ReferenceElement implementation should simply return
      zero in this case.
      
      Allowing this case gives the possibility to seamlessly test
      for(int j=0; j < re.size(i,c,cc); ++j)
      for all 0<=c<=dim and 0<=cc<=dim.
      edcac37f
  14. Mar 19, 2018
  15. Mar 14, 2018
  16. Mar 12, 2018
    • Carsten Gräser's avatar
      [cleanup] Canonicalize SFINAE in referenceElements() · c586d13e
      Carsten Gräser authored
      The used version of SFINAE by enable_if has the advantage
      of not adding additional template-parameters. However, it
      has the disadvantage of making the generated doxygen documentation
      hard to read.
      
      This commit changes this to SFINAE/enable_if by defaulted
      int template parameter. This additional parameter also
      shows up in doxygen but its much easier to identify as
      SFINAE dummy because it follows a simple idomatic pattern.
      More importantly it does not mess up the documentation
      for the other parameters.
      c586d13e
  17. Feb 06, 2018
    • Martin Nolte's avatar
      Merge branch 'feature/clean-up-geometrytype-storage' into 'master' · 1eb68a62
      Martin Nolte authored
      [GeometryType] Clean up storage
      
      See merge request !86
      1eb68a62
    • Steffen Müthing's avatar
      [GeometryType] Clean up storage · 5f2396cd
      Steffen Müthing authored and Martin Nolte's avatar Martin Nolte committed
      This patch removes the packed bitfield used to store both the dimension and the none flag in a
      single byte. This optimization does not change anything about the size of GeometryType as a whole,
      because it would be 5 bytes even with the optimization and the C++ ABI (at least on 64-bit
      platforms) automatically rounds that up to 8 bytes, so we can just as easily let both the flag and
      the dimension have a full byte of their own.
      
      This also improves the code generated by both GCC and Clang quite a bit. In order to further improve
      matters, I reordered the member variables and put the topologyId_ variable last.
      5f2396cd
  18. Jan 26, 2018
  19. Jan 25, 2018
  20. Jan 18, 2018
  21. Jan 17, 2018
  22. Jan 16, 2018
  23. Jan 02, 2018
  24. Nov 20, 2017
  25. Nov 13, 2017
  26. Nov 10, 2017
Loading