-
- Downloads
Make LocalEnergy a non-variadic template
Previously, LocalEnergy would accept an arbitrary number of template arguments, and (with the exception of the first one) they would be interpreted as the factors of a product target space. This patch replaces this template list by a single template parameter, which has to be ProductManifold if a product space is desired. This has implications throughout the code. In particular, there are now two energy methods: One that still accepts coefficients sets in the form std::vector<TargetSpace> and a second one which accepts TupleVector<std::vector<Factors>...> The second one really only makes sense for product manifolds. However, as the 'energy' methods are pure virtual, they cannot be disabled by SFINAE or C++20 concepts. Therefore, the second 'energy' method exists always, accepting TupleVector<std::vector<TargetSpace> > if TargetSpace is not a product.
parent
64d2746b
No related branches found
No related tags found
Showing
- dune/gfe/assemblers/chiralskyrmionenergy.hh 6 additions, 0 deletionsdune/gfe/assemblers/chiralskyrmionenergy.hh
- dune/gfe/assemblers/cosseratenergystiffness.hh 6 additions, 0 deletionsdune/gfe/assemblers/cosseratenergystiffness.hh
- dune/gfe/assemblers/cosseratrodenergy.hh 6 additions, 0 deletionsdune/gfe/assemblers/cosseratrodenergy.hh
- dune/gfe/assemblers/harmonicenergy.hh 6 additions, 0 deletionsdune/gfe/assemblers/harmonicenergy.hh
- dune/gfe/assemblers/l2distancesquaredenergy.hh 5 additions, 0 deletionsdune/gfe/assemblers/l2distancesquaredenergy.hh
- dune/gfe/assemblers/localenergy.hh 37 additions, 3 deletionsdune/gfe/assemblers/localenergy.hh
- dune/gfe/assemblers/localgeodesicfeadolcstiffness.hh 9 additions, 0 deletionsdune/gfe/assemblers/localgeodesicfeadolcstiffness.hh
- dune/gfe/assemblers/localgeodesicfefdstiffness.hh 6 additions, 0 deletionsdune/gfe/assemblers/localgeodesicfefdstiffness.hh
- dune/gfe/assemblers/localintegralenergy.hh 13 additions, 7 deletionsdune/gfe/assemblers/localintegralenergy.hh
- dune/gfe/assemblers/nonplanarcosseratshellenergy.hh 6 additions, 0 deletionsdune/gfe/assemblers/nonplanarcosseratshellenergy.hh
- dune/gfe/assemblers/simofoxenergy.hh 17 additions, 2 deletionsdune/gfe/assemblers/simofoxenergy.hh
- dune/gfe/assemblers/sumenergy.hh 27 additions, 6 deletionsdune/gfe/assemblers/sumenergy.hh
- dune/gfe/assemblers/surfacecosseratenergy.hh 16 additions, 2 deletionsdune/gfe/assemblers/surfacecosseratenergy.hh
- dune/gfe/assemblers/weightedsumenergy.hh 5 additions, 0 deletionsdune/gfe/assemblers/weightedsumenergy.hh
- dune/gfe/neumannenergy.hh 15 additions, 10 deletionsdune/gfe/neumannenergy.hh
Loading
Please register or sign in to comment