The return type should be `*Tensor<2,dim,NumberType>*` shouldn't it? Hope this helps. If not, could describe how the code does not work? It it not compiling? Is the result wrong?
PM On Sunday, 1 August 2021 at 04:09:45 UTC+2 [email protected] wrote: > Dear All, > > I want to do a surface integration which needs to evaluate the gradients > of the solution on the face. The following code does not work > > fe_face_values.*get_function_gradients*(solution, > solution_grads); > > for (unsigned int f_q_point = 0; f_q_point < n_q_points_f; ++f_q_point) > { > *const Tensor<2,dim,NumberType> &grad_u = > solution_grads[f_q_point];* > * ...* > } > > Can anybody give a hint on that? > > Thanks, > Michael > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4fa2b351-9162-4777-b8a9-8cbc42ecdc66n%40googlegroups.com.
