From: Ataollah M. <am...@ti...> - 2011-06-15 21:10:54
|
Dear all, I'm trying to use libmesh to compute gradient of my objective function. Tao gives me a petscvec (Vec Gradient) that I should populate. I calculate the gradient in each element, but what would be the best way to populate that petscvec? |