-
- Downloads
Add specializations of the PromotionTraits class from dune-common for the adouble type
This is needed, e.g., to be able to use the FieldVector implementation of dot products between a FieldVector<double> and a FieldVector<adouble>. The standard C++ return type deduction mechanism doesn't help here, because the product of a double and an adouble is actually a proxy class called 'adub', which is not to be used outside of the ADOL-C library.
Please register or sign in to comment