1. 07 Apr, 2020 4 commits
  2. 26 Feb, 2020 2 commits
    • Carsten Gräser's avatar
      [!69] Make HybridTreePath compatible with TreePath · b6efcad8
      Carsten Gräser authored
      Merge branch 'feature/compatible-hybridtreepath' into 'master'
      
      ref:staging/dune-typetree\> This allows to use
      HybridTreePath<index_constant<i>...> as a drop in replacement for
      TreePath<i...>. It also replaces two remaining use cases of TreePath by their
      HybridTreePath analogue. This implements [#10].
      
      As a consequence TreePath could be dropped if all downstream modules have
      switched to HybridTreePath. Once this transition was made we can consider
      getting rid of some of the functionality introduced here. E.g.
      Dune::TypeTree::TreePathSize<HTP>::value could be easily replaced by
      HTP::size().
      
      See merge request [!69]
      
        [#10]: gitlab.dune-project.org/NoneNone/issues/10
        [!69]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/69
      
      
      Closes #10
      b6efcad8
    • Carsten Gräser's avatar
      [!66] extended the tests of treecontainers to tests for matrix-like structures and type aliases · 16fbbd6b
      Carsten Gräser authored
      Merge branch 'issue/tree_container_tests' into 'master'
      
      See merge request [!66]
      
        [!66]: Nonestaging/dune-typetree/merge_requests/66
      16fbbd6b
  3. 25 Feb, 2020 1 commit
  4. 13 Feb, 2020 2 commits
    • Oliver Sander's avatar
      [!67] Always use shared_ptr from std:: · 7662ebb6
      Oliver Sander authored
      Merge branch 'do-not-use-dune-shared-ptr' into 'master'
      
      ref:staging/dune-typetree Up until dune-common 2.7, Dune::shared_ptr would
      also work (and point to the std implementation). Post-2.7, only
      std::shared_ptr is possible.
      
      See merge request [!67]
      
        [!67]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/67
      7662ebb6
    • Oliver Sander's avatar
      Always use shared_ptr from std:: · b6b6455e
      Oliver Sander authored
      Up until dune-common 2.7, Dune::shared_ptr would also work
      (and point to the std implementation).  Post-2.7, only
      std::shared_ptr is possible.
      b6b6455e
  5. 09 Feb, 2020 1 commit
  6. 20 Dec, 2019 3 commits
    • Christoph Grüninger's avatar
      [!64] Bump version to 2.8 · 233ef89b
      Christoph Grüninger authored
      Merge branch 'feature/bump-to-2.8' into 'master'
      
      See merge request [!64]
      
        [!64]: Nonestaging/dune-typetree/merge_requests/64
      233ef89b
    • Christoph Grüninger's avatar
      Bump version to 2.8 · 3901cdf2
      Christoph Grüninger authored
      3901cdf2
    • Christian Engwer's avatar
      [!61] Feature/improve treecontainer · f491eb75
      Christian Engwer authored
      Merge branch 'feature/improve-treecontainer' into 'master'
      
      ref:staging/dune-typetree Add alias TreeContainer using a meta function to
      determine the per node value
      
      -   Add support for TreeContainer<LeafToValue,Tree> where LeafToValue<Node> is
          the value associated to a node of type Node.
      -   Add a manual lambda implementing the LeafToValue<Node> transformation by
          default constructing the values. This is needed because you cannot use a
          lambda expresion in a type alias.
      -   Rename the existing TreeContainer<Value,Tree> alias to
          UniformTreeContainer<Value,Tree>. This is an **interface change** but:
          -   This is needed because you cannot have to templates of the same name.
          -   The new name is better.
          -   The old interface was not published in a release so far.
      
      See merge request [!61]
      
        [!61]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/61
      f491eb75
  7. 19 Dec, 2019 5 commits
    • Christoph Grüninger's avatar
      [!62] mailing list as maintainer · 36b7cf39
      Christoph Grüninger authored
      Merge branch 'feature/mailing-list-as-maintainer' into 'master'
      
      ref:staging/dune-typetree As Steffen steps down as the maintainer of
      dune-typetree and nobody claims this his or her project, I propose to set the
      Dune developer mailing list as the dune.module email address. Further, there
      will be no single maintainer to be asked for approval. Typetree will be like
      the core module, were everybody does as he thinks it is the best. We help each
      other by discussions and comments. I assume that especially users of
      dune-functions and PDELab will follow the development and contribute further
      improvements or features.
      
      @smuething @dominic @oliver.sander @carsten.graeser @christi Would that be ok?
      
      See merge request [!62]
      
        [!62]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/62
      36b7cf39
    • Christoph Grüninger's avatar
      3934cd7e
    • Carsten Gräser's avatar
      Add alias TreeContainer using a meta function to determine the per node value · c17264ca
      Carsten Gräser authored
      * Add support for `TreeContainer<LeafToValue,Tree>` where
        `LeafToValue<Node>` is the value associated to a node of
        type `Node`.
      * Add a manual lambda implementing the `LeafToValue<Node>` transformation
        by default constructing the values. This is needed because you cannot
        use a lambda expresion in a type alias.
      * Rename the existing `TreeContainer<Value,Tree>` alias to
        `UniformTreeContainer<Value,Tree>`.
        * This is needed because you cannot have to templates of the same name.
        * The new name is better.
        * The interface was not published in a release so far.
      c17264ca
    • Carsten Gräser's avatar
      Make TreeContainerVectorBackend default constructible · c6124f4d
      Carsten Gräser authored
      This simply calles the default constructor of the stored
      container class.
      c6124f4d
    • Dominic Kempf's avatar
      [!59] [bugfix] Introduce deterministic transformation order for composite nodes · f21a2359
      Dominic Kempf authored
      Merge branch 'bugfix/deterministic-child-transformation' into 'master'
      
      ref:staging/dune-typetree As a side effect of using parameter packs in the
      implementation of the transformation behaviour of composite nodes, the
      traversal order on the tree was not defined. The commit reimplements the
      transformation such that evaluation order of children is left to right.
      
      See merge request [!59]
      
        [!59]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/59
      f21a2359
  8. 18 Dec, 2019 3 commits
    • Christian Engwer's avatar
      [!60] Use std::initializer_list instead of fold expression to get deterministic evaluation order · e74e99d8
      Christian Engwer authored
      Merge branch 'bugfix/deterministic-child-transformation-cpp14' into 'bugfix/deterministic-child-transformation'
      
      ref:staging/dune-typetree This should make [!59] compatible with C++14.
      
      See merge request [!60]
      
        [!59]: gitlab.dune-project.org/NoneNone/merge_requests/59
        [!60]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/60
      e74e99d8
    • Christian Engwer's avatar
      [!21] Feature/remove vintage treepaths · 65da1ce6
      Christian Engwer authored
      Merge branch 'feature/remove-vintage-treepaths' into 'master'
      
      ref:staging/dune-typetree This MR (based on [!18]) removes DynamicTreePath,
      MutableDynamicTreePath, MakeableDynamicTreePath, TreePathType::mostlyStatic,
      and TreePathFactory. None of them is used any more in dune-typetree and
      dune-pdelab when applying the modernization of the tree traversal algorithms
      in [!18].
      
      The key is, that the modernized tree traversal only uses HybridTreePath which
      nicely does the job. The only other remaining tree path implementation is the
      fully static TypeTree::TreePath. Getting rid of this one is harder, because
      TreePath<i...> is used heavily as template parameter in dune-pdelab.
      
      Notice that I'm not sure if removing all those implementations without
      deprecation is a good idea. Hence this MR mostly serves for demonstrating how
      this could be cleaned up. However, if the removed stuff is considered
      internal, one may consider merging directly (after [!18] of course).
      
      See merge request [!21]
      
        [!18]: gitlab.dune-project.org/NoneNone/merge_requests/18
        [!21]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/21
      65da1ce6
    • Carsten Gräser's avatar
  9. 11 Dec, 2019 2 commits
  10. 03 Dec, 2019 3 commits
  11. 30 Nov, 2019 1 commit
  12. 20 Mar, 2019 2 commits
  13. 13 Mar, 2019 2 commits
    • Steffen Müthing's avatar
      [!53] Add utility leafTreePathTuple() · ab2a447f
      Steffen Müthing authored
      Merge branch 'feature/leaftreepathtuple' into 'master'
      
      ref:staging/dune-typetree This generates a tuple with all tree paths referring
      to the leaf nodes of a tree.
      
      See merge request [!53]
      
        [!53]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/53
      ab2a447f
    • Steffen Müthing's avatar
      [!52] Make HybridTreePath utilities constexpr · ebe52f7e
      Steffen Müthing authored
      Merge branch 'feature/constexpr-hybridtreepath' into 'master'
      
      ref:staging/dune-typetree While the member functions of HybridTreePath are
      were already constexpr this was not the case for all utility functions for
      HybridTreePath. This avoided constexpr successive construction.
      
      See merge request [!52]
      
        [!52]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/52
      ebe52f7e
  14. 11 Mar, 2019 2 commits
  15. 14 Jan, 2019 4 commits
    • Steffen Müthing's avatar
      [!50] Update version in README.md · 0e9ca5e4
      Steffen Müthing authored
      Merge branch 'doc/update-version' into 'master'
      
      ref:staging/dune-typetree The version was still stuck at 2.6.0-rc1.
      
      See merge request [!50]
      
        [!50]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/50
      0e9ca5e4
    • Steffen Müthing's avatar
      Update version in README.md · 58222b9c
      Steffen Müthing authored
      58222b9c
    • Steffen Müthing's avatar
      [!49] Make Child<> an invalid type if the child cannot be extracted · dd7dab18
      Steffen Müthing authored
      Merge branch 'feature/make-child-template-invalid-if-child-not-found' into 'master'
      
      ref:staging/dune-typetree The type alias Child<Node,...> used to simply be
      void if the child type could not be extracted. That is rather unhelpful, as it
      makes it impossible to use in SFINAE.
      
      This patch changes the behavior by making it impossible to instantiate the
      type alias if there is no valid child.
      
      See merge request [!49]
      
        [!49]: gitlab.dune-project.org/staging/dune-typetree/merge_requests/49
      dd7dab18
    • Steffen Müthing's avatar
      Make Child<> an invalid type if the child cannot be extracted · 167cc792
      Steffen Müthing authored
      The type alias `Child<Node,...>` used to simply be `void` if the child type
      could not be extracted. That is rather unhelpful, as it makes it impossible to
      use in SFINAE.
      
      This patch changes the behavior by making it impossible to instantiate the type
      alias if there is no valid child.
      167cc792
  16. 06 Dec, 2018 2 commits
  17. 02 Jul, 2018 1 commit