Hello Slawa,
as far as I know there is no easy way of getting the derivative of a
Function<dim> object with Sacado, since (of course) Trilinos does not
know the deal.II Function<dim> object. I think the easiest way for you
would be to use the AutoDerivativeFunction class from deal.II. If you do
not want to do this, please have a look in tutorial step-33 to see how
to use Sacado.
Best Regards,
Markus
Am 02.09.10 12:41, schrieb Svyatoslav Gladkov:
Greetings!
I have rather naive question about automatic differentiation in
deal.II:
Suppose I have a scalar function derived from Function<dim>. How can I
compute derivative (gradient) of this function in all quadrature
points with Sacado?
Regards,
Slawa
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii