[deal.II] Re: meshworker getting gradient values

2016-11-16 Thread Sudarshan Kumar
That works ! excellent !! . Thanks a lot, in tons. On Wednesday, November 16, 2016 at 12:33:22 PM UTC-3, Daniel Arndt wrote: > > Sudarshan, > > template >> void Step12::integrate_cell_term (DoFInfo& dinfo, CellInfo& info) >> { >>const FEValuesBase& fe_v = info.fe_values(); >>co

[deal.II] Re: meshworker getting gradient values

2016-11-16 Thread Daniel Arndt
Sudarshan, template > void Step12::integrate_cell_term (DoFInfo& dinfo, CellInfo& info) > { >const FEValuesBase& fe_v = info.fe_values(); >const std::vector>& grad = info.gradients[0][0]; > } > > When I call grad[0][0] it gives segmentation fault. > It seems that you didn't tell yo