]> https://gitweb.dealii.org/ - dealii.git/commitdiff
function renamed
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 19 Dec 2000 09:02:35 +0000 (09:02 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Tue, 19 Dec 2000 09:02:35 +0000 (09:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@3567 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/tensor_product_polynomials.h
deal.II/base/source/tensor_product_polynomials.cc
tests/base/polynomial_test.cc

index 2971eb48a10542fdb2c7dfe44c10b66a8b439a5e..8585176a6ab340527f6fd25649ac3916a30b4574 100644 (file)
@@ -54,10 +54,10 @@ class TensorProductPolynomials
                                      * 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.
index 024eb3aeeb6b7d325f17cc721def999f706f63cc..4c58f8cf973d9e95412d9173f618c8dd2956cc1d 100644 (file)
@@ -25,7 +25,7 @@ TensorProductPolynomials<dim>::TensorProductPolynomials(
 
 
 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,
index 1d1f97054b8376debe70540b15265586e9e7b983..d9330196a032e5f023092c81f781fe9ccf03754e 100644 (file)
@@ -135,7 +135,7 @@ int main(int, char)
   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


Typeset in Trocchi and Trocchi Bold Sans Serif.