]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename one field.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 28 Mar 2005 22:39:03 +0000 (22:39 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 28 Mar 2005 22:39:03 +0000 (22:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@10265 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/symmetric_tensor.h

index 32bdce58ed22e21497a7e96939a6fec1b51b70bd..6df5b48870a5db8c33a02b7206e92739cd8c6e72 100644 (file)
@@ -200,7 +200,7 @@ class SymmetricTensor<2,dim>
                                       * classes that need it.
                                       */
     static const unsigned int
-    n_tensor_components = (dim*dim + dim)/2;
+    n_independent_tensor_components = (dim*dim + dim)/2;
 
                                      /**
                                       * Declare the type in which we actually
@@ -211,7 +211,7 @@ class SymmetricTensor<2,dim>
                                       * any assumptions about the storage
                                       * format in your application programs.
                                       */
-    typedef Tensor<1,n_tensor_components> StorageType;
+    typedef Tensor<1,n_independent_tensor_components> StorageType;
     
     
                                      /**
@@ -612,7 +612,7 @@ SymmetricTensor<2,dim>::operator * (const SymmetricTensor &s) const
   for (; i<dim; ++i)
     t += data[i] * s.data[i];
 
-  for (; i<n_tensor_components; ++i)
+  for (; i<n_independent_tensor_components; ++i)
     t += 2 * data[i] * s.data[i];
 
   return t;

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.