1. 12 Mar, 2020 2 commits
  2. 13 Feb, 2020 2 commits
  3. 20 Dec, 2019 9 commits
  4. 18 Dec, 2019 4 commits
  5. 17 Dec, 2019 3 commits
    • Carsten Gräser's avatar
      [!225] Add recursive assignment to ISTLVectorBackend · 1721d96d
      Carsten Gräser authored
      Merge branch 'feature/istlvectorbackend-recursive-assignment' into 'master'
      
      ref:staging/dune-functions If the wrapped vector type supports assignment from
      T, then this is used. Otherwise assignment is done by recursively assigning
      all entries from T. The recursion stops for the first nested entry type which
      is assignable from T. This allows to do simple assignments from a scalar to
      initialize vectors in a unified way.
      
      See merge request [!225]
      
        [!225]: gitlab.dune-project.org/staging/dune-functions/merge_requests/225
      1721d96d
    • Carsten Gräser's avatar
      Add recursive assignment to ISTLVectorBackend · 41d253e2
      Carsten Gräser authored
      If the wrapped vector type supports assignment from T,
      then this is used. Otherwise assignment is done by recursively
      assigning all entries from T. The recursion stops for
      the first nested entry type which is assignable from T.
      This allows to do simple assignments from a scalar
      to initialize vectors in a unified way.
      41d253e2
    • Carsten Gräser's avatar
      [!222] Move a consistency check into assert(...) · f33b2fde
      Carsten Gräser authored
      Merge branch 'disable-check-with-ndebug' into 'master'
      
      ref:staging/dune-functions That way it is only performed when NDEBUG is not
      set.
      
      Supersedes [!214].
      
      See merge request [!222]
      
        [!214]: gitlab.dune-project.org/NoneNone/merge_requests/214
        [!222]: gitlab.dune-project.org/staging/dune-functions/merge_requests/222
      f33b2fde
  6. 15 Dec, 2019 2 commits
  7. 03 Dec, 2019 7 commits
  8. 30 Nov, 2019 5 commits
  9. 29 Nov, 2019 1 commit
  10. 27 Sep, 2019 1 commit
    • Simon Praetorius's avatar
      [!212] add template parameter for range type to lagrange basis · 885eeec7
      Simon Praetorius authored
      Merge branch 'feature/generic_lagrange_basis' into 'master'
      
      ref:staging/dune-functions
      
      ### Summary
      
      This MR adds a template parameter to the LagrangePreBasis, for setting the
      local-basis range type.
      
      ### Details
      
      Following a discussion in issue [#44] , the lagrange basis was fixed to range
      type double for the PQkLocalFiniteElement. This is resolved with this MR, by
      adding the range template parameter. It is defaulted to double so that no
      changes in user code should be necessary, especially when you only use the
      generator function lagrange<k>() or lagrange(k).
      
      The range type is added as last template parameter to the pre-basis, node, and
      node-indexset.
      
      ### Example:
      
          // compile-time order
          auto basis0 = makeBasis(gridView, lagrange<k>()); // range type = double
          auto basis1 = makeBasis(gridView, lagrange<k, float>());
      
          // run-time order
          auto basis2 = makeBasis(gridView, lagrange(k)); // range type = double
          auto basis3 = makeBasis(gridView, lagrange<float>(k));
      
      See merge request [!212]
      
        [#44]: gitlab.dune-project.org/NoneNone/issues/44
        [!212]: gitlab.dune-project.org/staging/dune-functions/merge_requests/212
      885eeec7
  11. 07 Sep, 2019 1 commit
  12. 02 Sep, 2019 2 commits
    • Oliver Sander's avatar
      [!215] Use dependency tracking provided by UseLatexMk.cmake · 2e74addd
      Oliver Sander authored
      Merge branch 'use-latexmk-dependency-tracking' into 'master'
      
      ref:staging/dune-functions dune-common switched to UseLatexMk.cmake, which
      exploits the dependency tracking of latexmk. Let's use this for the
      dune-functions manuals, because it allows to vastly shorten the CMakelists.txt
      file.
      
      See merge request [!215]
      
        [!215]: gitlab.dune-project.org/staging/dune-functions/merge_requests/215
      2e74addd
    • Oliver Sander's avatar
      Use dependency tracking provided by UseLatexMk.cmake · 5511fb26
      Oliver Sander authored
      dune-common switched to UseLatexMk.cmake, which exploits
      the dependency tracking of latexmk.  Let's use this for
      the dune-functions manuals, because it allows to vastly
      shorten the CMakelists.txt file.
      5511fb26
  13. 31 May, 2019 1 commit
    • Carsten Gräser's avatar
      [!213] Use this pointer for subPreBasis(i) in lambdas [bugfix] · 40f32a47
      Carsten Gräser authored
      Merge branch 'issue/subprebasis_this' into 'master'
      
      ref:staging/dune-functions
      
      ### Summary
      
      Adds the pointer this-> when calling subPreBasis(i) inside of lambdas.
      
      ### Details
      
      The recently introduced function subPreBasis(i) that returns the i'th
      subPreBasis is used in lambdas without the this-> pointer. This is fine in
      recent compilers, but fails in gcc6.
      
      ### Discussion
      
      Maybe one should add a test for older compilers in the ci system, to catch
      such bugs.
      
      See merge request [!213]
      
        [!213]: gitlab.dune-project.org/staging/dune-functions/merge_requests/213
      40f32a47