TensorFunction<rank, dim, Number>::value (const Point<dim> &) const
{
Assert (false, ExcPureFunctionCalled());
- return Tensor<rank,dim>();
+ return Tensor<rank,dim, Number>();
}
TensorFunction<rank, dim, Number>::gradient (const Point<dim> &) const
{
Assert (false, ExcPureFunctionCalled());
- return Tensor<rank+1,dim>();
+ return Tensor<rank+1,dim, Number>();
}
typename TensorFunction<rank, dim, Number>::gradient_type
ConstantTensorFunction<rank, dim, Number>::gradient (const Point<dim> &) const
{
- static const Tensor<rank+1,dim> zero;
+ static const Tensor<rank+1, dim, Number> zero;
return zero;
}
Assert (gradients.size() == points.size(),
ExcDimensionMismatch(gradients.size(), points.size()));
- static const Tensor<rank+1,dim> zero;
+ static const Tensor<rank+1, dim, Number> zero;
for (unsigned int i=0; i<gradients.size(); ++i)
gradients[i] = zero;