Pranshul:

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).
Can you show what the error you get is? Are you actually using the Function::vector_value() function that produces the error?

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/


--
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/b72be0ac-5ed2-4600-2145-e73b1573502c%40colostate.edu.

Reply via email to