I am using DG elements and if I want to query the average of my vector 
solution across the interface I can do something like :
  std::vector<Tensor<1,dim>> old_velocity_averages(n_q_points);
  
fe_iv[velocities].get_average_of_function_values(solution_np0,old_velocity_averages);
which gives me the average of u=u1/2+u2/2

I want the average of (uu) which is = u1*u1/2 +u2*u2/2 but I don't know how 
to get it. 
 
I am stuck and will take any hints. Should I inherit the fe_interface class 
and implement my own function?   

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c4a0a408-1d39-4819-b1d8-304f9ec17116n%40googlegroups.com.

Reply via email to