Hi,

I am trying to template dealii's Function 
(https://www.dealii.org/current/doxygen/deal.II/classFunction.html) with an 
ADType i.e. I am planning to use
template class dealii::Function<dim, Sacado::Fad::DFad<double>>;

However, this line encounters an error as this line in function.templates.h 
(https://github.com/dealii/dealii/blob/85f093567b355e1f8173598f2a479593a0506630/include/deal.II/base/function.templates.h#L75-L76)
 
triggers a static_assert  by dealii::Vector (in this line: 
https://github.com/dealii/dealii/blob/85f093567b355e1f8173598f2a479593a0506630/include/deal.II/lac/vector.h#L118-L122).

Just wondering if there is a way to use AD with Function by using another 
header file.

Best,
Pranshul.


-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/5c04659c-2bb9-4afe-b03a-abd30825eb2cn%40googlegroups.com.

Reply via email to