Fix LocalIntegralEnergy for nonconforming discretizations
This broke recently (or never worked), because nonconforming discretizations were not tested anywhere. This patch therefore also generalizes harmonicmaptest to also test with a nonconforming discretization. As part of the fix, the interpolation rules get a new method `evaluateValueAndDerivative`, because the previous way to get the value and the derivative in a single call (the `evaluateDerivative` method that takes a value as an argument) only worked for the conforming case.
Showing
- dune/gfe/assemblers/localintegralenergy.hh 29 additions, 10 deletionsdune/gfe/assemblers/localintegralenergy.hh
- dune/gfe/localgeodesicfefunction.hh 15 additions, 0 deletionsdune/gfe/localgeodesicfefunction.hh
- dune/gfe/localprojectedfefunction.hh 60 additions, 0 deletionsdune/gfe/localprojectedfefunction.hh
- test/CMakeLists.txt 13 additions, 1 deletiontest/CMakeLists.txt
- test/harmonicmaptest.cc 29 additions, 4 deletionstest/harmonicmaptest.cc
Loading
Please register or sign in to comment