1. 16 Sep, 2021 4 commits
  2. 02 Sep, 2021 4 commits
    • Carsten Gräser's avatar
      [test] Add test for ComposedGridFunction · 29c2f988
      Carsten Gräser authored
      29c2f988
    • Carsten Gräser's avatar
      Add ComposedGridFunction · 30757956
      Carsten Gräser authored
      For given inner grid functions `g0`, ..., `gn` and an
      outer function `f` this implements the grid function
      mapping `x`  to `f(g0(x), ..., gn(x))`. It is assumed
      that the grid functions are defined on the same
      `EntitySet` and that their range type can be passed to
      the outer function.
      
      All functions are stored by value. Storing references
      is possible using passing `std::ref(f)`. To resolve
      extended methods internally this makes use of the
      `Dune::Functions::resolveRef()` utility.
      30757956
    • Carsten Gräser's avatar
    • Carsten Gräser's avatar
      Add utilities for std::reference_wrapper · e66acc60
      Carsten Gräser authored
      This adds the following helpers for handling `std::reference_wrapper`:
      
      * A predicate `IsReferenceWrapper_v<R>` for detecting if
        `R` is a `std::reference_wrapper<T>`.
      * A helper function `resolveRef` for resolving references
        wrapped in `std::reference_wrapper`. For type `T` providing
        a method `T::foo()` this allows to transparently use
        `resolveRef(t).foo()` if `t` is either a plain `T` or
        a `std::reference_wrapper<T>`.
      * A type alias `ResolveRef_t<T>` to determine the resolved
        type for `T`.
      e66acc60
  3. 31 Aug, 2021 4 commits
  4. 30 Aug, 2021 3 commits
  5. 13 Aug, 2021 2 commits
  6. 11 Aug, 2021 4 commits
  7. 26 Jul, 2021 1 commit
  8. 16 Jul, 2021 2 commits
  9. 15 Jul, 2021 2 commits
  10. 14 Jul, 2021 1 commit
  11. 13 Jul, 2021 6 commits
  12. 09 Jul, 2021 3 commits
    • Oliver Sander's avatar
      Merge branch 'introduce-periodic-basis' into 'master' · 95ca73de
      Oliver Sander authored
      Introduce PeriodicBasis
      
      See merge request !263
      95ca73de
    • Andreas Dedner's avatar
      Merge branch 'bugfix/python_with_clang' into 'master' · cfe608a4
      Andreas Dedner authored
      fix some issues when using python bindings with clang - some minor errors and a double registry issue
      
      See merge request !302
      cfe608a4
    • Oliver Sander's avatar
      Introduce PeriodicBasis · 3ae8ae10
      Oliver Sander authored
      PeriodicBasis is a meta basis---a basis that is parametrized
      with another basis.  In a PeriodicBasis, global degrees of freedom
      of the host basis can be grouped into equivalence classes,
      which are then treated as single global degrees of freedom by the
      PeriodicBasis.  This allows, in particular, to implement periodic
      boundary conditions for discretizations without intersection
      integrals.
      
      As there was some controversy about whether such a basis is really
      needed the implementation is in the namespace
      Dune::Functions::Experimental for now.  That will the code some
      more exposure.
      
      Thanks go to Carsten Gräser, who wrote a lot of code in this commit.
      3ae8ae10
  13. 06 Jul, 2021 1 commit
  14. 02 Jul, 2021 1 commit
  15. 30 Jun, 2021 2 commits