dim=2 template <int dim> void Step12<dim>::integrate_cell_term (DoFInfo& dinfo, CellInfo& info) { const FEValuesBase<dim>& fe_v = info.fe_values(); const std::vector<Tensor<1,dim>>& grad = info.gradients[0][0];
} When I call grad[0][0] it gives segmentation fault. Could any one tell how to access the gradient values? Help is appreciated. Thanks a lot -- 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.