* case, the function will not
* compute these values.
*/
- void shape_values_and_grads(const Point<dim> &unit_point,
- vector<double> &values,
- vector<Tensor<1,dim> > &grads,
- vector<Tensor<2,dim> > &grad_grads) const;
+ void compute (const Point<dim> &unit_point,
+ vector<double> &values,
+ vector<Tensor<1,dim> > &grads,
+ vector<Tensor<2,dim> > &grad_grads) const;
/**
* Exception.
template <int dim>
-void TensorProductPolynomials<dim>::shape_values_and_grads(
+void TensorProductPolynomials<dim>::compute(
const Point<dim> &p,
vector<double> &values,
vector<Tensor<1,dim> > &grads,
double xi=0.35;
double eta=0.62;
Point<2> point(xi,eta);
- tp_pol.shape_values_and_grads(point, vs, grads, grad_grads);
+ tp_pol.compute(point, vs, grads, grad_grads);
// 4th shape function of Q3<2> is
// equivalent to its 1st shape
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams