]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename functions.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 28 Jun 2009 19:27:43 +0000 (19:27 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 28 Jun 2009 19:27:43 +0000 (19:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@18986 0785d39b-7218-0410-832d-ea1e28bc413d

tests/base/geometry_info_4.cc
tests/base/geometry_info_5.cc

index 14f77eb4397f1bb093694fe385e1c750ded54fc9..d6e2d5796d50443523ef0f8075d18c8e5d2692fc 100644 (file)
@@ -12,7 +12,7 @@
 //----------------------------  geometry_info_4.cc  ---------------------------
 
 
-// check GeometryInfo::bilinear_shape_function
+// check GeometryInfo::d_linear_shape_function
 
 #include "../tests.h"
 #include <base/logstream.h>
@@ -32,7 +32,7 @@ void test ()
     for (unsigned int v=0;v<GeometryInfo<dim>::vertices_per_cell;++v)
       {
        const double
-         phi_i = GeometryInfo<dim>::bilinear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
+         phi_i = GeometryInfo<dim>::d_linear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
        
        deallog << phi_i << std::endl;
        Assert (phi_i == (i==v ? 1 : 0),
@@ -47,7 +47,7 @@ void test ()
     {
       double s = 0;
       for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
-       s += GeometryInfo<dim>::bilinear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
+       s += GeometryInfo<dim>::d_linear_shape_function(GeometryInfo<dim>::unit_cell_vertex(v),i);
       Assert (s == 1, ExcInternalError());
 
       deallog << "Sum of shape functions: " << s << std::endl;
@@ -59,7 +59,7 @@ void test ()
     
     double s = 0;
     for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
-      s += GeometryInfo<dim>::bilinear_shape_function(center,i);
+      s += GeometryInfo<dim>::d_linear_shape_function(center,i);
     Assert (s == 1, ExcInternalError());
 
     deallog << "Sum of shape functions: " << s << std::endl;
index 9f59a4a67b341e0064f8cc913e2ff83d1d3245eb..a6beeacb637244db5e75bd723deb3a5aeaf65aa1 100644 (file)
@@ -12,7 +12,7 @@
 //----------------------------  geometry_info_5.cc  ---------------------------
 
 
-// check GeometryInfo::bilinear_shape_function_gradient
+// check GeometryInfo::d_linear_shape_function_gradient
 
 #include "../tests.h"
 #include <base/logstream.h>
@@ -33,7 +33,7 @@ void test ()
       {
        const Tensor<1,dim>
          phi_i_grad
-         = GeometryInfo<dim>::bilinear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
+         = GeometryInfo<dim>::d_linear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
        
        deallog << phi_i_grad << std::endl;
       }
@@ -48,7 +48,7 @@ void test ()
     {
       Tensor<1,dim> s;
       for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
-       s += GeometryInfo<dim>::bilinear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
+       s += GeometryInfo<dim>::d_linear_shape_function_gradient(GeometryInfo<dim>::unit_cell_vertex(v),i);
       Assert (s.norm() == 0, ExcInternalError());
 
       deallog << "Sum of shape functions: " << s << std::endl;
@@ -60,7 +60,7 @@ void test ()
     
     Tensor<1,dim> s;
     for (unsigned int i=0;i<GeometryInfo<dim>::vertices_per_cell;++i)
-      s += GeometryInfo<dim>::bilinear_shape_function_gradient(center,i);
+      s += GeometryInfo<dim>::d_linear_shape_function_gradient(center,i);
     Assert (s.norm() == 0, ExcInternalError());
 
     deallog << "Sum of shape functions: " << s << std::endl;

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.