• Oliver Sander's avatar
    [!200] Lagrangebasis with runtime order · 196a7ab9
    Oliver Sander authored
    Merge branch 'lagrangebasis-with-runtime-order' into 'master'
    
    ref:staging/dune-functions This MR extends the LagrangeBasis class to also
    allow to select the polynomial order at run-time. For this, the integer
    template parameter 'k' (the order) is made optional, with a default value of
    -1. If k is explicitly set to something non-negative, then the basis
    implementation behaves as before. If k is indeed -1 then the basis object
    needs to be constructed by a new constructor that accepts a run-time order.
    
    The changes to LagrangeBasis are completely backward-compatible. I did not do
    any measurements of the performance, but as the switch between run-time and
    compile-time order is based on a simple compile-time criterion I expect decent
    compilers to optimize away all new code if a compile-time order is selected.
    
    See merge request [!200]
    
      [!200]: gitlab.dune-project.org/staging/dune-functions/merge_requests/200
    196a7ab9
Name
Last commit
Last update
cmake/modules Loading commit data...
doc Loading commit data...
dune Loading commit data...
examples Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
config.h.cmake Loading commit data...
dune-functions.pc.in Loading commit data...
dune.module Loading commit data...
stamp-vc Loading commit data...