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
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