-
- Downloads
Allow LocalDensity objects to hand out adouble-versions of themselves
Currently the user code that plugs together the assembler for a particular problems has to know that ADOL-C is used internally to compute certain derivatives. In shows because certain objects need to be instantiated with adouble as the number type. One such example is all objects derived from LocalDensity. However, if this is to be avoided, then assemblers need to have a way to turn a (e.g.) 'double' version of a density into an 'adouble' one. This commit provides this way, by adding a 'makeActiveDensity' method.
parent
59bcb510
No related branches found
No related tags found
Showing
- dune/gfe/densities/bulkcosseratdensity.hh 15 additions, 0 deletionsdune/gfe/densities/bulkcosseratdensity.hh
- dune/gfe/densities/chiralskyrmiondensity.hh 14 additions, 0 deletionsdune/gfe/densities/chiralskyrmiondensity.hh
- dune/gfe/densities/duneelasticitydensity.hh 20 additions, 2 deletionsdune/gfe/densities/duneelasticitydensity.hh
- dune/gfe/densities/harmonicdensity.hh 8 additions, 0 deletionsdune/gfe/densities/harmonicdensity.hh
- dune/gfe/densities/localdensity.hh 7 additions, 0 deletionsdune/gfe/densities/localdensity.hh
- test/localintegralstiffnesstest.cc 6 additions, 5 deletionstest/localintegralstiffnesstest.cc
Loading
Please register or sign in to comment