(fe.shape_grad(i,k) ==
fe.shape_grad_component(i,k,c))
&&
- (fe.shape_2nd_derivative(i,k) ==
- fe.shape_2nd_derivative_component(i,k,c)),
+ (fe.shape_hessian(i,k) ==
+ fe.shape_hessian_component(i,k,c)),
ExcInternalError())
else
Assert ((fe.shape_value_component(i,k,c) == 0) &&
(fe.shape_grad_component(i,k,c) == Tensor<1,dim>()) &&
- (fe.shape_2nd_derivative_component(i,k,c) == Tensor<2,dim>()),
+ (fe.shape_hessian_component(i,k,c) == Tensor<2,dim>()),
ExcInternalError());
};
}
Assert((fe.shape_grad(i,k) == fe.shape_grad_component(i,k,c)),
ExcInternalError());
if (uflags & update_hessians)
- Assert((fe.shape_2nd_derivative(i,k) == fe.shape_2nd_derivative_component(i,k,c)),
+ Assert((fe.shape_hessian(i,k) == fe.shape_hessian_component(i,k,c)),
ExcInternalError());
}
else
Assert ((fe.shape_grad_component(i,k,c) == Tensor<1,dim>()),
ExcInternalError());
if (uflags & update_hessians)
- Assert ((fe.shape_2nd_derivative_component(i,k,c) == Tensor<2,dim>()),
+ Assert ((fe.shape_hessian_component(i,k,c) == Tensor<2,dim>()),
ExcInternalError());
}
}
}
if (uflags & update_hessians)
{
- const Tensor<2,dim> s1 = sub.shape_2nd_derivative(i,k),
- s2 = sub.shape_2nd_derivative_component(i,k,c);
+ const Tensor<2,dim> s1 = sub.shape_hessian(i,k),
+ s2 = sub.shape_hessian_component(i,k,c);
Assert (s1 == s2, ExcInternalError());
}
}
Assert ((sub.shape_grad_component(i,k,c) == Tensor<1,dim>()),
ExcInternalError());
if (uflags & update_hessians)
- Assert ((sub.shape_2nd_derivative_component(i,k,c) == Tensor<2,dim>()),
+ Assert ((sub.shape_hessian_component(i,k,c) == Tensor<2,dim>()),
ExcInternalError());
}
};
{
for (unsigned int c=0; c<fe.n_components(); ++c)
{
- Tensor<2,dim> tmp=fe_values.shape_2nd_derivative_component(i,x,c);
+ Tensor<2,dim> tmp=fe_values.shape_hessian_component(i,x,c);
tmp -= fe.shape_grad_grad_component(i,q.point(x),c);
for (unsigned int j=0; j<dim; ++j)
for (unsigned int k=0; k<dim; ++k)
if (fe.is_primitive(i))
for (unsigned int c=0; c<fe.n_components(); ++c)
Assert (((c == fe.system_to_component_index(i).first) &&
- (fe_values.shape_2nd_derivative(i,x) ==
- fe_values.shape_2nd_derivative_component(i,x,c)))
+ (fe_values.shape_hessian(i,x) ==
+ fe_values.shape_hessian_component(i,x,c)))
||
((c != fe.system_to_component_index(i).first) &&
- (fe_values.shape_2nd_derivative_component(i,x,c) == Tensor<2,dim>())),
+ (fe_values.shape_hessian_component(i,x,c) == Tensor<2,dim>())),
ExcInternalError());
}
}