On 12/9/18 11:42 AM, Jaman wrote:
> 
> for (; cell!=endc; ++cell)
>   {
>     fe_values.reinit(cell);
> 
>     fe_values[velocities].get_function_gradients(old_timestep_solution, 
> old_time_gradient_values);
> 
> }

Yes, this works.


> My question is: I need to compute the transpose of the gradient values '(grad 
> u^{n-1})^T' at the quadrature points. How can I do it? Please help me. I 
> appreciate your help.

It's as simple as using

   transpose(old_time_gradient_values[q_point])

in the expression where you need the transpose of the gradient.

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to