Hi,

I am using PETSc TAO to solve the following equation obtained from
minimizing certain energy and constitutive model:

u_xx - u - u_t =0    (1)

For simplicity, the coefficients are neglected.
In the routine to form function value and gradient, I use (1) to form my
gradient vector, and my energy definition to calculate function value.Is it
correct?

I only found one tao example that solves time dependent problem, but it is
using TS which I am not using.


Thanks,
Josh

Reply via email to